[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102987: * lisp/gnus/gnus-util.el (fl
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102987: * lisp/gnus/gnus-util.el (float-time): Get rid of compiler warning, again. |
Date: |
Thu, 27 Jan 2011 00:38:43 -0800 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102987
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2011-01-27 00:38:43 -0800
message:
* lisp/gnus/gnus-util.el (float-time): Get rid of compiler warning, again.
modified:
lisp/gnus/ChangeLog
lisp/gnus/gnus-util.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2011-01-27 04:04:58 +0000
+++ b/lisp/gnus/ChangeLog 2011-01-27 08:38:43 +0000
@@ -1,3 +1,7 @@
+2011-01-27 Glenn Morris <address@hidden>
+
+ * gnus-util.el (float-time): Get rid of compiler warning, again.
+
2011-01-27 Lars Ingebrigtsen <address@hidden>
* gnus-draft.el (gnus-draft-clear-marks): New function to be run as an
=== modified file 'lisp/gnus/gnus-util.el'
--- a/lisp/gnus/gnus-util.el 2011-01-27 04:04:58 +0000
+++ b/lisp/gnus/gnus-util.el 2011-01-27 08:38:43 +0000
@@ -333,8 +333,11 @@
(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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102987: * lisp/gnus/gnus-util.el (float-time): Get rid of compiler warning, again.,
Glenn Morris <=