diff lisp/time.el @ 91884:927a69bb381a

(emacs-uptime): Use before-init-time rather than emacs-startup-time.
author Glenn Morris <rgm@gnu.org>
date Sat, 16 Feb 2008 22:21:06 +0000
parents c4522ed32e3a
children 8172ec5d2dd0
line wrap: on
line diff
--- a/lisp/time.el	Sat Feb 16 22:20:12 2008 +0000
+++ b/lisp/time.el	Sat Feb 16 22:21:06 2008 +0000
@@ -558,7 +558,7 @@
   (let ((str
          (format-seconds (or format "%Y, %D, %H, %M, %z%S")
                          (time-to-seconds
-                          (time-subtract (current-time) emacs-startup-time)))))
+                          (time-subtract (current-time) before-init-time)))))
     (if (interactive-p)
         (message "%s" str)
       str)))