]> git.eshelyaron.com Git - emacs.git/commit
Fix two more minor Gnus typos
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 21 Oct 2017 02:16:29 +0000 (19:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 21 Oct 2017 02:17:04 +0000 (19:17 -0700)
commit83db9a1bba20575303fd01f8e67d5c6e09e3d72a
tree22582c06a4ada43f1305068696ab3cf10c822c6e
parente655946ce0946b7081b037fa50be4d3fb1609b0b
Fix two more minor Gnus typos

* lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
The old code had two minor bugs: first, it multiplied by 1/65536
instead of by 1/86400.  Second, it called current-time twice and
glued part of the two results together, resulting in a race.
Fix both bugs by simplifying the code and using
time-to-number-of-days.
lisp/gnus/mail-source.el