# HG changeset patch # User Juri Linkov # Date 1203289872 0 # Node ID 37418cd19627f35f2d7c5af0c3e7d0fd214e417a # Parent 6110ae9093e74335af2ea9919cb899809937f9b0 (emacs-init-time): Use format instead of format-seconds. diff -r 6110ae9093e7 -r 37418cd19627 lisp/time.el --- 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)))