diff options
| author | Juri Linkov | 2008-02-17 23:11:26 +0000 |
|---|---|---|
| committer | Juri Linkov | 2008-02-17 23:11:26 +0000 |
| commit | ac1efd51d29d4ebe75a4810d68280ce48f65f9f6 (patch) | |
| tree | 407925803805447e8bb5a5f76e0916bdfc48a9bd /lisp/time.el | |
| parent | 5b09339783de44336afe8fabf7ecfcfb114f43a0 (diff) | |
| download | emacs-ac1efd51d29d4ebe75a4810d68280ce48f65f9f6.tar.gz emacs-ac1efd51d29d4ebe75a4810d68280ce48f65f9f6.zip | |
(emacs-init-time): Use format instead of format-seconds.
Diffstat (limited to 'lisp/time.el')
| -rw-r--r-- | lisp/time.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/time.el b/lisp/time.el index 7d0e3ebb1b7..d889a7c7531 100644 --- a/lisp/time.el +++ b/lisp/time.el | |||
| @@ -567,9 +567,9 @@ For example, the Unix uptime command format is \"%D, %z%2h:%.2m\"." | |||
| 567 | "Return a string giving the duration of the Emacs initialization." | 567 | "Return a string giving the duration of the Emacs initialization." |
| 568 | (interactive) | 568 | (interactive) |
| 569 | (let ((str | 569 | (let ((str |
| 570 | (format-seconds "%z%S" | 570 | (format "%.1f seconds" |
| 571 | (time-to-seconds | 571 | (time-to-seconds |
| 572 | (time-subtract after-init-time before-init-time))))) | 572 | (time-subtract after-init-time before-init-time))))) |
| 573 | (if (interactive-p) | 573 | (if (interactive-p) |
| 574 | (message "%s" str) | 574 | (message "%s" str) |
| 575 | str))) | 575 | str))) |