-2014-10-29 Katsumi Yamaoka <yamaoka@jpl.org>
-
- * gnus-util.el (gnus-float-time):
- Don't pass the third argument docstring to `defalias' for XEmacs.
-
2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
Simplify use of current-time and friends.
;; Every version of Emacs Gnus supports has built-in float-time.
;; The featurep test silences an irritating compiler warning.
-(if (featurep 'emacs)
- (defalias 'gnus-float-time 'float-time
- "Convert time value TIME to a floating point number.
-TIME defaults to the current time.")
- ;; `defalias' takes only two arguments in XEmacs.
- (defalias 'gnus-float-time
- (if (fboundp 'float-time) 'float-time 'time-to-seconds)))
+(defalias 'gnus-float-time
+ (if (or (featurep 'emacs)
+ (fboundp 'float-time))
+ 'float-time 'time-to-seconds))
;;; Keymap macros.