1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00

lisp/type-break.el (timep): Avoid a byte-compiler warning.

This commit is contained in:
Juanma Barranquero 2011-07-04 03:06:33 +02:00
parent 56e6cc31de
commit 3abb79e569
2 changed files with 4 additions and 1 deletions

View 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>

View 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 ()