[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/gnus-search b23fe43 2/2: Fix bug in indexed gnus-s
From: |
Eric Abrahamsen |
Subject: |
[Emacs-diffs] scratch/gnus-search b23fe43 2/2: Fix bug in indexed gnus-search-run-search method |
Date: |
Fri, 2 Jun 2017 10:12:55 -0400 (EDT) |
branch: scratch/gnus-search
commit b23fe432f0ecf1d206bf943e15ff928725eb12ae
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
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 4d3056d..3f4aced 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)