]> code.delx.au - gnu-emacs/blobdiff - lisp/net/rcirc.el
Simplify use of current-time and friends.
[gnu-emacs] / lisp / net / rcirc.el
index 388c2b2879cf981ba7a7f69b88cb9b84391ce9d5..858fad4c0608e23e5e89d1462afdd77f784e7c31 100644 (file)
@@ -599,10 +599,10 @@ If ARG is non-nil, instead prompt for connection parameters."
   `(with-current-buffer rcirc-server-buffer
      ,@body))
 
-(defun rcirc-float-time ()
+(defalias 'rcirc-float-time
   (if (featurep 'xemacs)
-      (time-to-seconds (current-time))
-    (float-time)))
+      'time-to-seconds
+    'float-time))
 
 (defun rcirc-prompt-for-encryption (server-plist)
   "Prompt the user for the encryption method to use.