[gnus git] branch master updated: m0-9-24-gd9b7180 =1= nnir.el (nnir-request-update-mark): Don't try to update the source group if we can't find it (bug#16611)

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  d9b71806204d830c8fc8eb2428226718df204505 (commit)
      from  b41f49151270555ce86227b64a56ed4ad6340974 (commit)


- Log -----------------------------------------------------------------
commit d9b71806204d830c8fc8eb2428226718df204505
Author: Lars Ingebrigtsen <[email protected]>
Date:   Sat Feb 1 23:24:06 2014 +0000

    nnir.el (nnir-request-update-mark): Don't try to update the source group if we can't find it (bug#16611)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e78a894..73a6428 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -30,6 +30,11 @@
 	(message-forward-included-headers): New variable.
 	(message-remove-ignored-headers): Use it.
 
+2014-02-01  Lars Ingebrigtsen  <[email protected]>
+
+	* 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  Dave Abrahams  <[email protected]>
 
 	* gnus-sum.el (gnus-summary-open-group-with-article): New command.
diff --git a/lisp/nnir.el b/lisp/nnir.el
index f95c0bb..d678517 100644
--- a/lisp/nnir.el
+++ b/lisp/nnir.el
@@ -830,7 +830,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)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    5 +++++
 lisp/nnir.el   |    3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.