From: yamaoka Date: Sun, 24 Feb 2002 23:57:11 +0000 (+0000) Subject: * gnus-art.el (gnus-request-article-this-buffer): Temporally fix: erase the X-Git-Tag: t-gnus-6_15_6-00~8 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=3eb9390b83b4ee0ee376920514a430957058be27;p=elisp%2Fgnus.git- * gnus-art.el (gnus-request-article-this-buffer): Temporally fix: erase the buffer before inserting (and saving) an article. --- diff --git a/ChangeLog b/ChangeLog index 7a3f55d..79453d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-02-22 Katsumi Yamaoka + + * lisp/gnus-art.el (gnus-request-article-this-buffer): Temporally + fix: erase the buffer before inserting (and saving) an article. + 2002-02-18 Katsumi Yamaoka * lisp/nnheader.el (std11-field-value): Fix regexp. diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index b05f35a..272d68e 100644 --- a/lisp/gnus-art.el +++ b/lisp/gnus-art.el @@ -5339,6 +5339,10 @@ T-gnus change: Insert an article into `gnus-original-article-buffer'." ;; Copy the requested article from `gnus-original-article-buffer'. (unless (equal (buffer-name (current-buffer)) (buffer-name (get-buffer gnus-original-article-buffer))) + ;; There may be the same article if the current buffer is + ;; `nntp-server-buffer' (e.g. a case that the command + ;; `gnus-cache-enter-article' is invoked), it should be erased. + (erase-buffer) (insert-buffer gnus-original-article-buffer)) ;; Decode charsets.