mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-23 18:47:57 +00:00
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
@ -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…
Reference in New Issue
Block a user