diff options
author | Miles Bader <[email protected]> | 2004-11-01 10:41:03 +0000 |
---|---|---|
committer | Miles Bader <[email protected]> | 2004-11-01 10:41:03 +0000 |
commit | 2a95505b3e67a4080a93b3371eee6d5dfbc89048 (patch) | |
tree | e6711e884a3919adc59725c456be8fc489f39c3d | |
parent | e8ac5d8824ce3faaaa20b4a137166bdb5b517e25 (diff) |
Revision: [email protected]/emacs--cvs-trunk--0--patch-658
Merge from gnus--rel--5.10
Patches applied:
* [email protected]/gnus--rel--5.10--patch-64
Update from CVS
2004-10-29 Katsumi Yamaoka <[email protected]>
* lisp/gnus/gnus-msg.el (gnus-configure-posting-styles): Work with empty
signature file. Suggested by Manoj Srivastava
<[email protected]>.
-rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/gnus/gnus-msg.el | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 2c658a4c56..0484057a4f 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,5 +1,9 @@ 2004-10-29 Katsumi Yamaoka <[email protected]> + * gnus-msg.el (gnus-configure-posting-styles): Work with empty + signature file. Suggested by Manoj Srivastava + <[email protected]>. + * 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 <[email protected]>. diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el index 7dcef4b813..886aa80368 100644 --- a/lisp/gnus/gnus-msg.el +++ b/lisp/gnus/gnus-msg.el @@ -1871,8 +1871,9 @@ 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)))) (setq results (delq (assoc element results) results)) (push (cons element v) results)))) |