aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus
diff options
context:
space:
mode:
authorShengHuo ZHU <[email protected]>2002-02-21 17:57:43 +0000
committerShengHuo ZHU <[email protected]>2002-02-21 17:57:43 +0000
commitbf6c5a8f88ecbbb8f48b7f193e557a07fdeb8743 (patch)
treec4b264d06c3d1ec4ab79b0652ebbd5f2ce2f090b /lisp/gnus
parent929e8487010bb394bb6127f1a415ac5385e82e2b (diff)
* gnus-art.el (gnus-article-edit-done): Widen the article buffer.
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/ChangeLog4
-rw-r--r--lisp/gnus/gnus-art.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 5c2481d94e..6c361dfa79 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-21 ShengHuo ZHU <[email protected]>
+
+ * gnus-art.el (gnus-article-edit-done): Widen the article buffer.
+
2002-02-19 ShengHuo ZHU <[email protected]>
* mm-encode.el (mm-content-transfer-encoding-defaults): Set
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index a65414edbe..5afe72d97e 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)))