From d9bc4246c4cdee6ccfb1a140e8cb183c29a633da Mon Sep 17 00:00:00 2001 From: yamaoka Date: Fri, 29 Oct 2004 05:26:12 +0000 Subject: [PATCH] Synch to No Gnus 200410290525. --- lisp/ChangeLog | 4 ++++ lisp/gnus-msg.el | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- 1.7.10.4