(truncate (mod n 65536)))))
(defalias 'erc-emacs-time-to-erc-time
- (if (featurep 'xemacs) 'time-to-seconds 'float-time)
- "Convert time value TIME to a floating point number.
-TIME defaults to the current time.")
+ (if (featurep 'xemacs) 'time-to-seconds 'float-time))
-(defalias 'erc-current-time 'erc-emacs-time-to-erc-time
- "Return the `current-time' as a number of seconds since the epoch.
-
-See also `erc-emacs-time-to-erc-time'.")
+(defalias 'erc-current-time 'erc-emacs-time-to-erc-time)
(defun erc-time-diff (t1 t2)
"Return the time difference in seconds between T1 and T2."
(defalias 'gnus-float-time
(if (or (featurep 'emacs)
(fboundp 'float-time))
- 'float-time 'time-to-seconds)
- "Convert time value TIME to a floating point number.
-TIME defaults to the current time.")
+ 'float-time 'time-to-seconds))
;;; Keymap macros.
(set-mouse-position frame (1- (frame-width frame)) 0)))))
(defalias 'org-float-time
- (if (featurep 'xemacs) 'time-to-seconds 'float-time)
- "Convert time value TIME to a floating point number.
-TIME defaults to the current time.")
+ (if (featurep 'xemacs) 'time-to-seconds 'float-time))
;; `user-error' is only available from 24.2.50 on
(unless (fboundp 'user-error)