emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/gnorb ccf7847 443/449: [gnorb] Check for live Gnus befo


From: Stefan Monnier
Subject: [elpa] externals/gnorb ccf7847 443/449: [gnorb] Check for live Gnus before searching messages
Date: Fri, 27 Nov 2020 23:16:29 -0500 (EST)

branch: externals/gnorb
commit ccf7847dfc7f74ddd4f9e7f2a7811b781e06d140
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    [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

[Prev in Thread] Current Thread [Next in Thread]