lisp/type-break.el (timep): Avoid a byte-compiler warning.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 4 Jul 2011 01:06:33 +0000 (03:06 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 4 Jul 2011 01:06:33 +0000 (03:06 +0200)
lisp/ChangeLog
lisp/type-break.el

index 5e74c96..93cf3c4 100644 (file)
@@ -1,5 +1,8 @@
 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
 
+       * type-break.el (timep): Use the value of `float-time' to avoid a
+       byte-compiler warning.
+
        * server.el (server-eval-and-print): Return any result, even nil.
 
 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
index 612c8cf..d276e64 100644 (file)
@@ -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 ()