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

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

[elpa] externals/gnorb bd4246d 344/449: Check for live Gnus before follo


From: Stefan Monnier
Subject: [elpa] externals/gnorb bd4246d 344/449: Check for live Gnus before following a link
Date: Fri, 27 Nov 2020 23:16:08 -0500 (EST)

branch: externals/gnorb
commit bd4246df5c665a282b76d0057881ce910132e86e
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>

    Check for live Gnus before following a link
    
    * gnorb-utils.el (gnorb-follow-gnus-link): This can make a mess,
      otherwise.
---
 gnorb-utils.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnorb-utils.el b/gnorb-utils.el
index 44eef8f..2e61b6b 100644
--- a/gnorb-utils.el
+++ b/gnorb-utils.el
@@ -160,6 +160,8 @@ link.
 
 3. Otherwise just follow the link as usual, in the current
 window."
+  (unless (gnus-alive-p)
+    (gnus))
   (let* ((sum-buffer (gnus-summary-buffer-name group))
         (target-buffer
          (cond



reply via email to

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