How can I make message-insert-signature
not inserting the --
prefix? If not possible, is there a another function that inserts signature without the --
prefix?
Asked
Active
Viewed 206 times
1 Answers
0
A signature like this can be inserted using the following code:
(save-excursion
(if (not (eq message-cite-reply-position 'above))
(message-goto-signature)
(message-goto-body)
(insert "\n\n")
(message-goto-body))
(insert "\n\n")
(insert "MY SIGNATURE"))

xuhdev
- 1,899
- 14
- 31
--
prefix. That is the standard way of identifying a signature. It is what enables clients to parse a signature as a signature. Are you trying to use this for some other purpose? – phils Oct 25 '16 at 03:41message-signature-setup-hook
(which runs immediately prior tomessage-insert-signature
) to insert your name. You would not use the normal signature config at all in that case. – phils Oct 25 '16 at 03:59