[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 64a4d08 2/4: [gnorb] Check for live Gnus before searching
From: |
Eric Abrahamsen |
Subject: |
[elpa] master 64a4d08 2/4: [gnorb] Check for live Gnus before searching messages |
Date: |
Thu, 3 Sep 2020 19:29:01 -0400 (EDT) |
branch: master
commit 64a4d085ec528d11bed6309fd0d03a6eafa9a03b
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
[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.
---
packages/gnorb/gnorb-gnus.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/packages/gnorb/gnorb-gnus.el b/packages/gnorb/gnorb-gnus.el
index 9d12e6a..46c1654 100644
--- a/packages/gnorb/gnorb-gnus.el
+++ b/packages/gnorb/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