diff options
| author | Juanma Barranquero | 2011-07-04 03:06:33 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2011-07-04 03:06:33 +0200 |
| commit | 3abb79e569258dd1e29e9549718f7e4701c61566 (patch) | |
| tree | 103bce0efcace8b22b39da6ab208b7fe1197ad44 | |
| parent | 56e6cc31de573d15f55f369a5759930a351df884 (diff) | |
| download | emacs-3abb79e569258dd1e29e9549718f7e4701c61566.tar.gz emacs-3abb79e569258dd1e29e9549718f7e4701c61566.zip | |
lisp/type-break.el (timep): Avoid a byte-compiler warning.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/type-break.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5e74c9604fd..93cf3c44033 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-07-04 Juanma Barranquero <lekktu@gmail.com> | 1 | 2011-07-04 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 2 | ||
| 3 | * type-break.el (timep): Use the value of `float-time' to avoid a | ||
| 4 | byte-compiler warning. | ||
| 5 | |||
| 3 | * server.el (server-eval-and-print): Return any result, even nil. | 6 | * server.el (server-eval-and-print): Return any result, even nil. |
| 4 | 7 | ||
| 5 | 2011-07-03 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2011-07-03 Paul Eggert <eggert@cs.ucla.edu> |
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." | |||
| 502 | "If TIME is in the format returned by `current-time' then | 502 | "If TIME is in the format returned by `current-time' then |
| 503 | return TIME, else return nil." | 503 | return TIME, else return nil." |
| 504 | (condition-case nil | 504 | (condition-case nil |
| 505 | (progn (float-time time) time) | 505 | (and (float-time time) time) |
| 506 | (error nil))) | 506 | (error nil))) |
| 507 | 507 | ||
| 508 | (defun type-break-choose-file () | 508 | (defun type-break-choose-file () |