[Top][All Lists]

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

[elpa] externals/gnorb 86b870f 429/449: [gnorb] Replace gnus-buffer-exis

From: Stefan Monnier
Subject: [elpa] externals/gnorb 86b870f 429/449: [gnorb] Replace gnus-buffer-exists-p with gnus-buffer-live-p
Date: Fri, 27 Nov 2020 23:16:26 -0500 (EST)

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

    [gnorb] Replace gnus-buffer-exists-p with gnus-buffer-live-p
    * packages/gnorb/gnorb-utils.el (gnorb-follow-gnus-link): At some
      point, the former will go away.
 gnorb-utils.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnorb-utils.el b/gnorb-utils.el
index cc9b7da..48af465 100644
--- a/gnorb-utils.el
+++ b/gnorb-utils.el
@@ -185,9 +185,9 @@ window."
   (let* ((sum-buffer (gnus-summary-buffer-name group))
-          ((gnus-buffer-exists-p sum-buffer)
+          ((gnus-buffer-live-p sum-buffer)
-          ((gnus-buffer-exists-p gnus-group-buffer)
+          ((gnus-buffer-live-p gnus-group-buffer)
           (t nil)))
         (target-window (when target-buffer
@@ -202,7 +202,7 @@ window."
       (if target-buffer
          (switch-to-buffer target-buffer)))
     (message "Following link...")
-    (if (gnus-buffer-exists-p sum-buffer)
+    (if (gnus-buffer-live-p sum-buffer)
        (gnus-summary-goto-article id nil t)
       (gnorb-open-gnus-link group id))))

reply via email to

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