]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug in indexed gnus-search-run-search method
authorEric Abrahamsen <eric@ericabrahamsen.net>
Thu, 1 Jun 2017 14:18:06 +0000 (22:18 +0800)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Fri, 2 Jun 2017 14:10:11 +0000 (22:10 +0800)
* 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

index 4d3056dff51ccf984581ecc9366da677d5eb81e6..3f4aced71662a311547dced705fa302eb4c7aaf4 100644 (file)
@@ -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)