diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-08-01 00:38:33 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-08-01 01:17:16 -0700 |
commit | d634cb09547eb5ffba105b6c90410fd843bf029d (patch) | |
tree | 8b4b7102c05217480336d67200d7aa8a110bd836 /lisp/progmodes/hideif.el | |
parent | 353413a76b1bb607e1ce4368edf80890d2cc141b (diff) | |
download | emacs-d634cb09547eb5ffba105b6c90410fd843bf029d.tar.gz |
Omit some (current-time) calls
* lisp/emacs-lisp/ert.el (ert-write-junit-test-summary-report):
* lisp/emacs-lisp/shortdoc.el (file):
* lisp/find-lisp.el (find-lisp-find-dired-insert-file):
* lisp/progmodes/hideif.el (hide-ifdefs):
* lisp/tar-mode.el (tar-subfile-save-buffer):
Prefer nil or omitted arg to (current-time) where this is better
or more-efficient.
Diffstat (limited to 'lisp/progmodes/hideif.el')
-rw-r--r-- | lisp/progmodes/hideif.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index f2ada676ab7..d09e1f4cdfe 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el @@ -2521,8 +2521,7 @@ Turn off hiding by calling `show-ifdefs'." (or hide-ifdef-read-only hif-outside-read-only)) (and hide-ifdef-verbose (message "Hiding done, %.1f seconds elapsed" - (float-time (time-subtract (current-time) - hide-start-time))))))) + (float-time (time-subtract nil hide-start-time))))))) (defun show-ifdefs (&optional start end) |