changeset 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 6110ae9093e7
children 87329c26bee9
files lisp/time.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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)))