summaryrefslogtreecommitdiff
path: root/lisp/type-break.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2011-07-04 03:06:33 +0200
committerJuanma Barranquero <lekktu@gmail.com>2011-07-04 03:06:33 +0200
commit3abb79e569258dd1e29e9549718f7e4701c61566 (patch)
tree103bce0efcace8b22b39da6ab208b7fe1197ad44 /lisp/type-break.el
parent56e6cc31de573d15f55f369a5759930a351df884 (diff)
downloademacs-3abb79e569258dd1e29e9549718f7e4701c61566.tar.gz
lisp/type-break.el (timep): Avoid a byte-compiler warning.
Diffstat (limited to 'lisp/type-break.el')
-rw-r--r--lisp/type-break.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/type-break.el b/lisp/type-break.el
index 612c8cf4617..d276e64f6db 100644
--- a/lisp/type-break.el
+++ b/lisp/type-break.el
@@ -502,7 +502,7 @@ variable of the same name."
"If TIME is in the format returned by `current-time' then
return TIME, else return nil."
(condition-case nil
- (progn (float-time time) time)
+ (and (float-time time) time)
(error nil)))
(defun type-break-choose-file ()