Fix typo: time-subtract.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 21 Sep 2010 19:33:35 +0000 (21:33 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 21 Sep 2010 19:33:35 +0000 (21:33 +0200)
lisp/ChangeLog
lisp/nnmail.el

index 7f4f121..5f9b669 100644 (file)
@@ -1,5 +1,7 @@
 2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract.
+
        * nnimap.el (nnimap-find-expired-articles): Don't refer to
        nnml-inhibit-expiry.
 
index e17465a..95a9835 100644 (file)
@@ -1884,7 +1884,7 @@ If TIME is nil, then return the cutoff time for oldness instead."
             (setq days (days-to-time days))
             ;; Compare the time with the current time.
             (if (null time)
-                (time-minus (current-time) days)
+                (time-subtract (current-time) days)
               (ignore-errors (time-less-p days (time-since time)))))))))
 
 (declare-function gnus-group-mark-article-read "gnus-group" (group article))