* mu4e: check that message-signature is a string

This commit is contained in:
djcb
2013-12-21 11:10:15 -08:00
parent 5f6c274b3c
commit 5232c9ca5d

View File

@ -53,7 +53,8 @@ messages. This is the mu4e-specific version of
:group 'mu4e-compose) :group 'mu4e-compose)
(defcustom mu4e-compose-signature (defcustom mu4e-compose-signature
(or message-signature "Sent with my mu4e") (or (and (stringp message-signature) message-signature)
message-signature "Sent with my mu4e")
"The message signature (i.e. the blob at the bottom of "The message signature (i.e. the blob at the bottom of
messages). This is the mu4e-specific version of messages). This is the mu4e-specific version of
`message-signature'." `message-signature'."
@ -66,7 +67,6 @@ messages (if it is set)."
:type 'boolean :type 'boolean
:group 'mu4e-compose) :group 'mu4e-compose)
(defun mu4e~draft-user-agent-construct () (defun mu4e~draft-user-agent-construct ()
"Return the User-Agent string for mu4e. "Return the User-Agent string for mu4e.
This is either the value of `mu4e-user-agent', or, if not set, a This is either the value of `mu4e-user-agent', or, if not set, a