mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
Simplify gnus-backend-trace time calc
* lisp/gnus/gnus-int.el (gnus-backend-trace): Simplify, since (float-time (time-since nil)) returns 0.0.
This commit is contained in:
parent
56b93016fc
commit
5eee9e239b
1 changed files with 2 additions and 4 deletions
|
|
@ -257,10 +257,8 @@ If it is down, start it up (again)."
|
|||
(goto-char (point-max))
|
||||
(insert (format-time-string "%H:%M:%S")
|
||||
(format " %.2fs %s %S\n"
|
||||
(if (numberp gnus-backend-trace-elapsed)
|
||||
(float-time
|
||||
(time-since gnus-backend-trace-elapsed))
|
||||
0)
|
||||
(float-time
|
||||
(time-since gnus-backend-trace-elapsed))
|
||||
type form))
|
||||
(setq gnus-backend-trace-elapsed (float-time)))))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue