[gnus git] branch master updated: n0-13-61-g4c946bd =1= gnus-art: fix buffer live check

Julien Danjou <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  4c946bd4dd2dd26c91540b41b9bf77b56d643eb0 (commit)
      from  2bd6537597f51762a4b04f81c70d8f2be5dcb690 (commit)


- Log -----------------------------------------------------------------
commit 4c946bd4dd2dd26c91540b41b9bf77b56d643eb0
Author: Julien Danjou <[email protected]>
Date:   Wed Mar 2 10:15:24 2011 +0100

    gnus-art: fix buffer live check
    
    Signed-off-by: Julien Danjou <[email protected]>

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 80d601b..ace8c1c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-02  Julien Danjou  <[email protected]>
+
+	* gnus-art.el (gnus-with-article-buffer): Fix buffer live check.
+
 2011-03-01  Julien Danjou  <[email protected]>
 
 	* gnus-art.el (list-identifier): Add list-identifier as a parameter
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index 7469c44..c64138b 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -1743,7 +1743,7 @@ Initialized from `text-mode-syntax-table.")
 (put 'gnus-with-article-headers 'edebug-form-spec '(body))
 
 (defmacro gnus-with-article-buffer (&rest forms)
-  `(when (buffer-live-p gnus-article-buffer)
+  `(when (buffer-live-p (get-buffer gnus-article-buffer))
      (with-current-buffer gnus-article-buffer
        (let ((inhibit-read-only t))
          ,@forms))))

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog   |    4 ++++
 lisp/gnus-art.el |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.