aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShengHuo ZHU2002-02-21 17:57:43 +0000
committerShengHuo ZHU2002-02-21 17:57:43 +0000
commitbf6c5a8f88ecbbb8f48b7f193e557a07fdeb8743 (patch)
treec4b264d06c3d1ec4ab79b0652ebbd5f2ce2f090b
parent929e8487010bb394bb6127f1a415ac5385e82e2b (diff)
downloademacs-bf6c5a8f88ecbbb8f48b7f193e557a07fdeb8743.tar.gz
emacs-bf6c5a8f88ecbbb8f48b7f193e557a07fdeb8743.zip
* gnus-art.el (gnus-article-edit-done): Widen the article buffer.
-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 5c2481d94e6..6c361dfa799 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,7 @@
12002-02-21 ShengHuo ZHU <zsh@cs.rochester.edu>
2
3 * gnus-art.el (gnus-article-edit-done): Widen the article buffer.
4
12002-02-19 ShengHuo ZHU <zsh@cs.rochester.edu> 52002-02-19 ShengHuo ZHU <zsh@cs.rochester.edu>
2 6
3 * mm-encode.el (mm-content-transfer-encoding-defaults): Set 7 * 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."
4182(defun gnus-article-edit-done (&optional arg) 4182(defun gnus-article-edit-done (&optional arg)
4183 "Update the article edits and exit." 4183 "Update the article edits and exit."
4184 (interactive "P") 4184 (interactive "P")
4185 (widen)
4185 (save-excursion 4186 (save-excursion
4186 (save-restriction 4187 (save-restriction
4187 (widen)
4188 (when (article-goto-body) 4188 (when (article-goto-body)
4189 (let ((lines (count-lines (point) (point-max))) 4189 (let ((lines (count-lines (point) (point-max)))
4190 (length (- (point-max) (point))) 4190 (length (- (point-max) (point)))