1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00

* nnimap.el (nnimap-find-article-by-message-id): Don't error out if

group is nil.
This commit is contained in:
Andreas Schwab 2012-12-24 17:03:39 +01:00
parent 0cbbcb45a5
commit 216ed9cc43
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-12-24 Andreas Schwab <schwab@linux-m68k.org>
* nnimap.el (nnimap-find-article-by-message-id): Don't error out if
group is nil.
2012-12-23 Andreas Schwab <schwab@linux-m68k.org>
* shr.el (shr-tag-em): Render as italic, not bold.

View File

@ -971,7 +971,7 @@ textual parts.")
(defun nnimap-find-article-by-message-id (group message-id)
(with-current-buffer (nnimap-buffer)
(erase-buffer)
(unless (equal group (nnimap-group nnimap-object))
(unless (or (not group) (equal group (nnimap-group nnimap-object)))
(setf (nnimap-group nnimap-object) nil)
(setf (nnimap-examined nnimap-object) group)
(nnimap-send-command "EXAMINE %S" (utf7-encode group t)))