From bf6c5a8f88ecbbb8f48b7f193e557a07fdeb8743 Mon Sep 17 00:00:00 2001 From: ShengHuo ZHU Date: Thu, 21 Feb 2002 17:57:43 +0000 Subject: [PATCH] * gnus-art.el (gnus-article-edit-done): Widen the article buffer. --- lisp/gnus/ChangeLog | 4 ++++ lisp/gnus/gnus-art.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 5c2481d94e6..6c361dfa799 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2002-02-21 ShengHuo ZHU + + * gnus-art.el (gnus-article-edit-done): Widen the article buffer. + 2002-02-19 ShengHuo ZHU * mm-encode.el (mm-content-transfer-encoding-defaults): Set diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index a65414edbe8..5afe72d97e6 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el @@ -4182,9 +4182,9 @@ groups." (defun gnus-article-edit-done (&optional arg) "Update the article edits and exit." (interactive "P") + (widen) (save-excursion (save-restriction - (widen) (when (article-goto-body) (let ((lines (count-lines (point) (point-max))) (length (- (point-max) (point))) -- 2.39.5