From 29d0cade38d90a5ace6a4f7a2c7875925903c9cc Mon Sep 17 00:00:00 2001 From: ShengHuo ZHU Date: Thu, 21 Feb 2002 17:58:57 +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 7288b2f1880..b1e9ff4d527 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 b2d2936177c..fae3dad43a1 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el @@ -4185,9 +4185,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