;;; gnus-util.el --- utility functions for Gnus
-;; Copyright (C) 1996-2014 Free Software Foundation, Inc.
+;; Copyright (C) 1996-2015 Free Software Foundation, Inc.
;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
;; Keywords: news
;; 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.