diff options
| author | Glenn Morris | 2011-01-27 00:38:43 -0800 |
|---|---|---|
| committer | Glenn Morris | 2011-01-27 00:38:43 -0800 |
| commit | fb9464eea3875b49525e4d71900618465b7cb5fc (patch) | |
| tree | da05175a29981b502aeaedbb994b046131eb0e14 | |
| parent | ed7646d4546cda6d8295659d023ebe5791b286b6 (diff) | |
| download | emacs-fb9464eea3875b49525e4d71900618465b7cb5fc.tar.gz emacs-fb9464eea3875b49525e4d71900618465b7cb5fc.zip | |
* lisp/gnus/gnus-util.el (float-time): Get rid of compiler warning, again.
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/gnus-util.el | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 341351ef7f8..5f20d2cfa65 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-01-27 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * gnus-util.el (float-time): Get rid of compiler warning, again. | ||
| 4 | |||
| 1 | 2011-01-27 Lars Ingebrigtsen <larsi@gnus.org> | 5 | 2011-01-27 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 6 | ||
| 3 | * gnus-draft.el (gnus-draft-clear-marks): New function to be run as an | 7 | * gnus-draft.el (gnus-draft-clear-marks): New function to be run as an |
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el index f1d0ce952e4..d298c715443 100644 --- a/lisp/gnus/gnus-util.el +++ b/lisp/gnus/gnus-util.el | |||
| @@ -333,8 +333,11 @@ Symbols are also allowed; their print names are used instead." | |||
| 333 | (and (= (car fdate) (car date)) | 333 | (and (= (car fdate) (car date)) |
| 334 | (> (nth 1 fdate) (nth 1 date)))))) | 334 | (> (nth 1 fdate) (nth 1 date)))))) |
| 335 | 335 | ||
| 336 | ;; Every version of Emacs Gnus supports has built-in float-time. | ||
| 337 | ;; The featurep test silences an irritating compiler warning. | ||
| 336 | (eval-and-compile | 338 | (eval-and-compile |
| 337 | (if (fboundp 'float-time) | 339 | (if (or (featurep 'emacs) |
| 340 | (fboundp 'float-time)) | ||
| 338 | (defalias 'gnus-float-time 'float-time) | 341 | (defalias 'gnus-float-time 'float-time) |
| 339 | (defun gnus-float-time (&optional time) | 342 | (defun gnus-float-time (&optional time) |
| 340 | "Convert time value TIME to a floating point number. | 343 | "Convert time value TIME to a floating point number. |