From 4f3ef96954ccbf14082cb639980130aead017046 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Sun, 24 Feb 2002 23:57:44 +0000 Subject: [PATCH] * gnus-art.el (gnus-request-article-this-buffer): Temporally fix: erase the buffer before inserting (and saving) an article. --- ChangeLog | 5 +++++ lisp/gnus-art.el | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2d0afeb..aa4b2bf 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-22 Steve Youngs * aclocal.m4 (AC_PATH_LISPDIR): Default to diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index 6a501a7..d213158 100644 --- a/lisp/gnus-art.el +++ b/lisp/gnus-art.el @@ -5436,6 +5436,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. -- 1.7.10.4