changeset 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 984503c8d1a0
children 9b6dba5ddbf0
files lisp/time.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)))