branch: externals/gnorb
commit ccf7847dfc7f74ddd4f9e7f2a7811b781e06d140
Author: Eric Abrahamsen <[email protected]>
Commit: Stefan Monnier <[email protected]>

    [gnorb] Check for live Gnus before searching messages
    
    * packages/gnorb/gnorb-gnus.el (gnorb-gnus-search-messages): I thought
    the existing check in nnir-run-gnorb was in the right place to catch
    all this, but apparently not.
---
 gnorb-gnus.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnorb-gnus.el b/gnorb-gnus.el
index 9d12e6a..46c1654 100644
--- a/gnorb-gnus.el
+++ b/gnorb-gnus.el
@@ -892,6 +892,8 @@ HEAD-TEXT, if present, as its name.  Otherwise create an
 ephemeral one, with RET as the value of its quit-config."
   (interactive)
   (require 'nnir)
+  (unless (gnus-alive-p)
+    (gnus))
   (let* ((nnir-address (gnorb-gnus-find-gnorb-server))
         (name (if persist
                   (read-string

Reply via email to