+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
(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))))