]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/gnus/message.el (message-insert-signature): Make signature respect format=flowed
authorJorge A. Alfaro Murillo <jorge.alfaro-murillo@yale.edu>
Thu, 16 Oct 2014 22:12:47 +0000 (22:12 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 16 Oct 2014 22:12:47 +0000 (22:12 +0000)
lisp/gnus/ChangeLog
lisp/gnus/message.el

index 7dab8dec90d875753f96201f7b46404e71d3d3fd..00c96b7d963a9e6d7d7506161e090310d50f06f3 100644 (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
index 92cab57337c95af538301aab7bbd1c74a6477161..1cec37e15dc196cec5b59f80f77952d0fda59a20 100644 (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."