From 5232c9ca5d7a22dead466224d406ec995124c7f0 Mon Sep 17 00:00:00 2001 From: djcb Date: Sat, 21 Dec 2013 11:10:15 -0800 Subject: [PATCH] * mu4e: check that message-signature is a string --- mu4e/mu4e-draft.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mu4e/mu4e-draft.el b/mu4e/mu4e-draft.el index a1c1de5a..91945fcd 100644 --- a/mu4e/mu4e-draft.el +++ b/mu4e/mu4e-draft.el @@ -53,7 +53,8 @@ messages. This is the mu4e-specific version of :group 'mu4e-compose) (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 messages). This is the mu4e-specific version of `message-signature'." @@ -66,7 +67,6 @@ messages (if it is set)." :type 'boolean :group 'mu4e-compose) - (defun mu4e~draft-user-agent-construct () "Return the User-Agent string for mu4e. This is either the value of `mu4e-user-agent', or, if not set, a