mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-07 08:00:48 -08:00
gnus-art.el (gnus-with-article-buffer): Fix buffer live check.
This commit is contained in:
parent
42eabe38ab
commit
e1a135a9eb
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2011-03-02 Julien Danjou <julien@danjou.info>
|
||||
|
||||
* gnus-art.el (gnus-with-article-buffer): Fix buffer live check.
|
||||
|
||||
2011-03-01 Julien Danjou <julien@danjou.info>
|
||||
|
||||
* gnus-art.el (list-identifier): Add list-identifier as a parameter
|
||||
|
|
|
|||
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue