From: yamaoka Date: Fri, 29 Oct 2004 05:26:12 +0000 (+0000) Subject: Synch to No Gnus 200410290525. X-Git-Tag: t-gnus-6_17_4-quimby-~692 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d9bc4246c4cdee6ccfb1a140e8cb183c29a633da;p=elisp%2Fgnus.git- Synch to No Gnus 200410290525. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 75c498b..d8a7979 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2004-10-29 Katsumi Yamaoka + * gnus-msg.el (gnus-configure-posting-styles): Work with empty + signature file. Suggested by Manoj Srivastava + . + * mm-util.el (mm-coding-system-priorities): Prefer iso-8859-1 than iso-2022-jp even in the Japanese language environment. Suggested by Jason Rumney . diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el index bd75b3c..f41a272 100644 --- a/lisp/gnus-msg.el +++ b/lisp/gnus-msg.el @@ -2165,8 +2165,8 @@ this is a reply." (setq v (with-temp-buffer (insert-file-contents v) (goto-char (point-max)) - (while (bolp) - (delete-char -1)) + (skip-chars-backward "\n") + (delete-region (+ (point) (if (bolp) 0 1)) (point-max)) (buffer-string)))) (if (eq element 'import) (progn