From b23fe432f0ecf1d206bf943e15ff928725eb12ae Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Thu, 1 Jun 2017 22:18:06 +0800 Subject: [PATCH] Fix bug in indexed gnus-search-run-search method * lisp/gnus/gnus-search.el (gnus-search-run-search): In case of error, this would have returned the actual process buffer for the notmuch process: it should return nil. --- lisp/gnus/gnus-search.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/gnus-search.el b/lisp/gnus/gnus-search.el index 4d3056dff51..3f4aced7166 100644 --- a/lisp/gnus/gnus-search.el +++ b/lisp/gnus/gnus-search.el @@ -1441,7 +1441,8 @@ Returns a list of [group article score] vectors." ;; Failure reason is in this buffer, show it if the user ;; wants it. (when (> gnus-verbose 6) - (display-buffer buffer)))))) + (display-buffer buffer)) + nil)))) (cl-defmethod gnus-search-indexed-parse-output ((engine gnus-search-indexed) server query &optional groups) -- 2.39.5