changeset 43446:0bd481e606f9

* gnus-art.el (gnus-article-edit-done): Widen the article buffer.
author ShengHuo ZHU <zsh@cs.rochester.edu>
date Thu, 21 Feb 2002 17:57:43 +0000
parents 2fca4318df9a
children 79cf46e34420
files lisp/gnus/ChangeLog lisp/gnus/gnus-art.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Thu Feb 21 09:39:39 2002 +0000
+++ b/lisp/gnus/ChangeLog	Thu Feb 21 17:57:43 2002 +0000
@@ -1,3 +1,7 @@
+2002-02-21  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+	* gnus-art.el (gnus-article-edit-done): Widen the article buffer.
+
 2002-02-19  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
 	* mm-encode.el (mm-content-transfer-encoding-defaults): Set
--- a/lisp/gnus/gnus-art.el	Thu Feb 21 09:39:39 2002 +0000
+++ b/lisp/gnus/gnus-art.el	Thu Feb 21 17:57:43 2002 +0000
@@ -4182,9 +4182,9 @@
 (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)))