+2011-01-27 Glenn Morris <rgm@gnu.org>
+
+ * gnus-util.el (float-time): Get rid of compiler warning, again.
+
2011-01-27 Lars Ingebrigtsen <larsi@gnus.org>
* gnus-draft.el (gnus-draft-clear-marks): New function to be run as an
(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.