changeset 104796:e9f8f2b78f10

(emacs-uptime, emacs-init-time): Use float-time rather than time-to-seconds.
author Glenn Morris <rgm@gnu.org>
date Wed, 02 Sep 2009 03:21:26 +0000
parents 521d6c4a95a9
children cfe03355665f
files lisp/time.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/time.el	Wed Sep 02 03:20:48 2009 +0000
+++ b/lisp/time.el	Wed Sep 02 03:21:26 2009 +0000
@@ -560,7 +560,7 @@
   (interactive)
   (let ((str
          (format-seconds (or format "%Y, %D, %H, %M, %z%S")
-                         (time-to-seconds
+                         (float-time
                           (time-subtract (current-time) before-init-time)))))
     (if (interactive-p)
         (message "%s" str)
@@ -572,7 +572,7 @@
   (interactive)
   (let ((str
 	 (format "%.1f seconds"
-		 (time-to-seconds
+		 (float-time
 		  (time-subtract after-init-time before-init-time)))))
     (if (interactive-p)
         (message "%s" str)