From: ShengHuo ZHU Date: Thu, 21 Feb 2002 17:58:57 +0000 (+0000) Subject: * gnus-art.el (gnus-article-edit-done): Widen the article buffer. X-Git-Tag: emacs-21.2~66 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=29d0cade38d90a5ace6a4f7a2c7875925903c9cc;p=emacs.git * gnus-art.el (gnus-article-edit-done): Widen the article buffer. --- 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)))