summaryrefslogtreecommitdiff
path: root/lisp/gnus/nnimap.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-12-27 00:21:08 -0800
committerGlenn Morris <rgm@gnu.org>2012-12-27 00:21:08 -0800
commit82e2a1f054cc0306494d1194036af4c5d7301caf (patch)
treef78be2edfd92d4eba0dc28bd110f646a314438ae /lisp/gnus/nnimap.el
parentc34339f3a2c425ca37bec0c6a152f913ab61f458 (diff)
parente1da740354d9cab626bce82645adcfc6b0735b70 (diff)
downloademacs-82e2a1f054cc0306494d1194036af4c5d7301caf.tar.gz
Merge from emacs-24; up to 2012-12-03T21:07:47Z!eggert@cs.ucla.edu
Diffstat (limited to 'lisp/gnus/nnimap.el')
-rw-r--r--lisp/gnus/nnimap.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index bc0818efa7c..38ece41ad37 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -980,7 +980,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)))