summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-search.el
diff options
context:
space:
mode:
authorAndrew G Cohen <cohen@andy.bu.edu>2021-12-19 06:11:50 +0800
committerAndrew G Cohen <cohen@andy.bu.edu>2021-12-19 06:11:50 +0800
commit35da3ed05212e0222841becf614c109011f9ad80 (patch)
tree415ecb885a6043e81c58e3524a4dc6f06a50cd87 /lisp/gnus/gnus-search.el
parentf315d3121654ba5a752efbae3835af3e8b964f9f (diff)
downloademacs-35da3ed05212e0222841becf614c109011f9ad80.tar.gz
Fix gnus search by message-id
* lisp/gnus/gnus-search.el (gnus-search-run-search): Continue iterating until a match is found. * lisp/gnus/nnselect.el (nnselect-request-article): Use new gnus-search query format.
Diffstat (limited to 'lisp/gnus/gnus-search.el')
-rw-r--r--lisp/gnus/gnus-search.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-search.el b/lisp/gnus/gnus-search.el
index 46dc1cf6c1f..d64c0cb90c3 100644
--- a/lisp/gnus/gnus-search.el
+++ b/lisp/gnus/gnus-search.el
@@ -1060,7 +1060,7 @@ Responsible for handling and, or, and parenthetical expressions.")
q-string)))
(while (and (setq group (pop grouplist))
- (or (null single-search) (null artlist)))
+ (or (null single-search) (= 0 (length artlist))))
(when (nnimap-change-group
(gnus-group-short-name group) server)
(with-current-buffer (nnimap-buffer)