From 94304aea88c1b80eb95ffaa8ffb88cf52207ec5b Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 1 Feb 2014 00:26:31 -0800 Subject: [PATCH] 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). --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/nnir.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 * 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) -- 2.39.2