aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Cohen2011-06-21 22:13:24 +0000
committerKatsumi Yamaoka2011-06-21 22:13:24 +0000
commit183a6951a6ea741ce3aa374a81e7d7ab099e5c12 (patch)
tree2e188eb3d76d5b4ca4409740c0eb7c1b69a82534
parent95f41d9ad1df5519e989b290440c171e7d79ad33 (diff)
downloademacs-183a6951a6ea741ce3aa374a81e7d7ab099e5c12.tar.gz
emacs-183a6951a6ea741ce3aa374a81e7d7ab099e5c12.zip
nnimap.el (nnimap-find-article-by-message-id): return nil when no article found.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/nnimap.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 818440842cd..5a6ad584438 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -5,6 +5,11 @@
5 (auth-sources): Prefer the ~/.authinfo file over the ~/.authinfo.gpg 5 (auth-sources): Prefer the ~/.authinfo file over the ~/.authinfo.gpg
6 file, especially when saving. 6 file, especially when saving.
7 7
82011-06-21 Andrew Cohen <cohen@andy.bu.edu>
9
10 * nnimap.el (nnimap-find-article-by-message-id): return nil when no
11 article found.
12
82011-06-18 Teodor Zlatanov <tzz@lifelogs.com> 132011-06-18 Teodor Zlatanov <tzz@lifelogs.com>
9 14
10 * auth-source.el (auth-source-netrc-use-gpg-tokens): Replace 15 * auth-source.el (auth-source-netrc-use-gpg-tokens): Replace
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index dc8b38b8f9a..1bbd76f345e 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -929,7 +929,7 @@ textual parts.")
929 (car (setq result (nnimap-parse-response)))) 929 (car (setq result (nnimap-parse-response))))
930 ;; Select the last instance of the message in the group. 930 ;; Select the last instance of the message in the group.
931 (and (setq article 931 (and (setq article
932 (car (last (assoc "SEARCH" (cdr result))))) 932 (car (last (cdr (assoc "SEARCH" (cdr result))))))
933 (string-to-number article)))))) 933 (string-to-number article))))))
934 934
935(defun nnimap-delete-article (articles) 935(defun nnimap-delete-article (articles)