Commit 60727a54 authored by Jorge A. Alfaro Murillo's avatar Jorge A. Alfaro Murillo Committed by Katsumi Yamaoka
Browse files

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

parent 417cf674
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> 2014-10-15 Sylvain Chouleur <sylvain.chouleur@gmail.com>
   
* gnus-icalendar.el: Support vcal format timezones * gnus-icalendar.el: Support vcal format timezones
......
...@@ -3531,15 +3531,16 @@ Message buffers and is not meant to be called directly." ...@@ -3531,15 +3531,16 @@ Message buffers and is not meant to be called directly."
(goto-char (point-max)) (goto-char (point-max))
;; Insert the signature. ;; Insert the signature.
(unless (bolp) (unless (bolp)
(insert "\n")) (newline))
(when message-signature-insert-empty-line (when message-signature-insert-empty-line
(insert "\n")) (newline))
(insert "-- \n") (insert "-- ")
(newline)
(if (eq signature t) (if (eq signature t)
(insert-file-contents signature-file) (insert-file-contents signature-file)
(insert signature)) (insert signature))
(goto-char (point-max)) (goto-char (point-max))
(or (bolp) (insert "\n"))))) (or (bolp) (newline)))))
(defun message-insert-importance-high () (defun message-insert-importance-high ()
"Insert header to mark message as important." "Insert header to mark message as important."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment