]> git.eshelyaron.com Git - emacs.git/commit
Simplify message-make-expires
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Dec 2021 02:39:28 +0000 (18:39 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Dec 2021 07:24:09 +0000 (23:24 -0800)
commit084f440571694ec14ea5def4191861bdb5854ea0
tree1334b3af74aaf2d52b92672cf31ca04f1b119e60
parentf4d7ca73e3ab975fd920a2b0f2d1a7fdb5276d99
Simplify message-make-expires

* lisp/gnus/message.el (message-make-expires):
Use time-add instead of doing it by hand.  This also calculates the
expiration time more accurately than the old code did.
lisp/gnus/message.el