]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/gnus/nnir.el (nnir-request-update-mark):
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 19 Jan 2016 22:10:09 +0000 (22:10 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 19 Jan 2016 22:10:09 +0000 (22:10 +0000)
Default to the original mark.
cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>

lisp/gnus/nnir.el

index 183e1443dacb9ef77463cff17f8bfd1789a1f00f..560ba8ad2e5e9a12fb1d566ee7f795865966340b 100644 (file)
@@ -822,8 +822,10 @@ skips all prompting."
 (deffoo nnir-request-update-mark (group article mark)
   (let ((artgroup (nnir-article-group article))
        (artnumber (nnir-article-number article)))
-    (when (and artgroup artnumber)
-      (gnus-request-update-mark artgroup artnumber mark))))
+    (or (and artgroup
+            artnumber
+            (gnus-request-update-mark artgroup artnumber mark))
+       mark)))
 
 (deffoo nnir-request-set-mark (group actions &optional server)
   (nnir-possibly-change-group group server)