From: Eric Abrahamsen Date: Thu, 1 Jun 2017 14:18:06 +0000 (+0800) Subject: Fix bug in indexed gnus-search-run-search method X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b23fe432f0ecf1d206bf943e15ff928725eb12ae;p=emacs.git 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. --- 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)