emacs-init-time outputs more digits now
* lisp/time.el (emacs-init-time): Output more digits; formerly this was always outputting "0.0 seconds" for me because the number of seconds was less than 0.1.
This commit is contained in:
parent
43f6fd434d
commit
9cb2cb9725
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ For example, the Unix uptime command format is \"%D, %z%2h:%.2m\"."
|
|||
"Return a string giving the duration of the Emacs initialization."
|
||||
(interactive)
|
||||
(let ((str
|
||||
(format "%.1f seconds"
|
||||
(format "%s seconds"
|
||||
(float-time
|
||||
(time-subtract after-init-time before-init-time)))))
|
||||
(if (called-interactively-p 'interactive)
|
||||
|
|
Loading…
Add table
Reference in a new issue