diff lisp/time.el @ 91916:37418cd19627

(emacs-init-time): Use format instead of format-seconds.
author Juri Linkov <juri@jurta.org>
date Sun, 17 Feb 2008 23:11:12 +0000
parents 8172ec5d2dd0
children 878175a4c8f1
line wrap: on
line diff
--- a/lisp/time.el	Sun Feb 17 21:56:39 2008 +0000
+++ b/lisp/time.el	Sun Feb 17 23:11:12 2008 +0000
@@ -567,9 +567,9 @@
   "Return a string giving the duration of the Emacs initialization."
   (interactive)
   (let ((str
-         (format-seconds "%z%S"
-			 (time-to-seconds
-			  (time-subtract after-init-time before-init-time)))))
+	 (format "%.1f seconds"
+		 (time-to-seconds
+		  (time-subtract after-init-time before-init-time)))))
     (if (interactive-p)
         (message "%s" str)
       str)))