lisp/gnus/message.el (message-insert-signature): Make signature respect format=flowed

This commit is contained in:
Jorge A. Alfaro Murillo 2014-10-16 22:12:47 +00:00 committed by Katsumi Yamaoka
parent 417cf67485
commit 60727a5494
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2014-10-15 Jorge A. Alfaro-Murillo <jorge.alfaro-murillo@yale.edu> (tiny change)
* message.el (message-insert-signature): Use `newline' instead of
inserting explicit "\n".
2014-10-15 Sylvain Chouleur <sylvain.chouleur@gmail.com>
* gnus-icalendar.el: Support vcal format timezones

View file

@ -3531,15 +3531,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."