From 563353b183fb05165ae6aeda27466683b927da16 Mon Sep 17 00:00:00 2001 From: "Jorge A. Alfaro Murillo" Date: Wed, 15 Oct 2014 21:33:29 -0400 Subject: [PATCH] Make signature respect format=flowed * lisp/message.el (message-insert-signature): Use `newline' instead of inserting explicit "\n". --- lisp/ChangeLog | 5 +++++ lisp/message.el | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 214a8bf..d5fe1e5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-10-15 Jorge A. Alfaro-Murillo (tiny change) + + * message.el (message-insert-signature): Use `newline' instead of + inserting explicit "\n". + 2014-10-14 Teodor Zlatanov * gnus-start.el (gnus-save-newsrc-file-check-timestamp): New option to diff --git a/lisp/message.el b/lisp/message.el index 847652f..5ba42b1 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -3575,15 +3575,16 @@ Message buffers and is not meant to be called directly." (goto-char (point-max)) ;; Insert the signature. (unless (bolp) - (insert "\n")) + (newline)) (when message-signature-insert-empty-line - (insert "\n")) - (insert "-- \n") + (newline)) + (insert "-- ") + (newline) (if (eq signature t) (insert-file-contents signature-file) (insert signature)) (goto-char (point-max)) - (or (bolp) (insert "\n"))))) + (or (bolp) (newline))))) (defun message-insert-importance-high () "Insert header to mark message as important." -- 2.1.0