It's unclear why the subrp check was there. If it turns out to be
necessary, this patch should be reverted, and a comment saying why
it't that way should be added.
2011-01-27 Lars Ingebrigtsen <larsi@gnus.org>
+ * gnus-util.el (float-time): If float-time is bound, always use it on
+ all Emacsen. It's unclear why the subrp check was there.
+
* shr.el (shr-put-color): Don't do the box padding in tables, since
they're already padded.
(> (nth 1 fdate) (nth 1 date))))))
(eval-and-compile
- (if (or (featurep 'emacs)
- (and (fboundp 'float-time)
- (subrp (symbol-function 'float-time))))
+ (if (fboundp 'float-time)
(defalias 'gnus-float-time 'float-time)
(defun gnus-float-time (&optional time)
"Convert time value TIME to a floating point number.