[gnus git] branch master updated: =1= gnus-util.el (float-time): Get rid of compiler warning, again.
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 527fcf9f178830ceb4584b57362c83ffa92ce104 (commit)
from 133953e3dae536f5a827293bedd49e24cb65708b (commit)
- Log -----------------------------------------------------------------
commit 527fcf9f178830ceb4584b57362c83ffa92ce104
Author: Glenn Morris <[email protected]>
Date: Thu Jan 27 10:23:30 2011 +0000
gnus-util.el (float-time): Get rid of compiler warning, again.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2ba8461..1e7b83b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-27 Glenn Morris <[email protected]>
+
+ * gnus-util.el (float-time): Get rid of compiler warning, again.
+
2011-01-27 Lars Ingebrigtsen <[email protected]>
* shr.el (shr-put-color): Special-case background colours: Do put them
diff --git a/lisp/gnus-util.el b/lisp/gnus-util.el
index f1d0ce9..d298c71 100644
--- a/lisp/gnus-util.el
+++ b/lisp/gnus-util.el
@@ -333,8 +333,11 @@ Symbols are also allowed; their print names are used instead."
(and (= (car fdate) (car date))
(> (nth 1 fdate) (nth 1 date))))))
+;; Every version of Emacs Gnus supports has built-in float-time.
+;; The featurep test silences an irritating compiler warning.
(eval-and-compile
- (if (fboundp 'float-time)
+ (if (or (featurep 'emacs)
+ (fboundp 'float-time))
(defalias 'gnus-float-time 'float-time)
(defun gnus-float-time (&optional time)
"Convert time value TIME to a floating point number.
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 4 ++++
lisp/gnus-util.el | 5 ++++-
2 files changed, 8 insertions(+), 1 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project