summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2014-02-01 00:26:31 -0800
committerLars Ingebrigtsen <larsi@gnus.org>2014-02-01 00:26:31 -0800
commit94304aea88c1b80eb95ffaa8ffb88cf52207ec5b (patch)
tree8954d73f459039d701d91b403f129e8c04624a59 /lisp
parented4d2875a872dd3a1a3361c9298f3228273c2864 (diff)
downloademacs-94304aea88c1b80eb95ffaa8ffb88cf52207ec5b.tar.gz
nnir mark update fix
* nnir.el (nnir-request-update-mark): Don't try to update the source group if we can't find it (bug#16611).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/nnir.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 29d47ab4226..c0b009773c8 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
+2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
+
+ * nnir.el (nnir-request-update-mark): Don't try to update the source
+ group if we can't find it (bug#16611).
+
2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
* nnimap.el (nnimap-transform-headers): Fix Davmail header parsing.
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el
index 7088bbb8029..404cab114da 100644
--- a/lisp/gnus/nnir.el
+++ b/lisp/gnus/nnir.el
@@ -834,7 +834,8 @@ skips all prompting."
(deffoo nnir-request-update-mark (group article mark)
(let ((artgroup (nnir-article-group article))
(artnumber (nnir-article-number article)))
- (gnus-request-update-mark artgroup artnumber mark)))
+ (when (and artgroup artnumber)
+ (gnus-request-update-mark artgroup artnumber mark))))
(deffoo nnir-request-set-mark (group actions &optional server)
(nnir-possibly-change-group group server)