From 6424a82d60183c712b9d821e4077d284307d8fb5 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Wed, 14 Nov 2012 12:39:37 +0100 Subject: [PATCH] mu4e: add function mu4e-user-agent Without this `mail-user-agent' cannot be set to `mu4e-user-agent' through customize, as the custom type expects a function. Not sure whether this function is actually ever used; if it is then returning the symbol is probably the correct thing to do, as other such functions suggest. --- mu4e/mu4e-compose.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mu4e/mu4e-compose.el b/mu4e/mu4e-compose.el index 0f29435d..62d2f4da 100644 --- a/mu4e/mu4e-compose.el +++ b/mu4e/mu4e-compose.el @@ -520,6 +520,13 @@ Ie. either 'name ' or 'email')." 'message-send-and-exit 'message-kill-buffer 'message-send-hook) +;; Without this `mail-user-agent' cannot be set to `mu4e-user-agent' +;; through customize, as the custom type expects a function. Not +;; sure whether this function is actually ever used; if it is then +;; returning the symbol is probably the correct thing to do, as other +;; such functions suggest. +(defun mu4e-user-agent () + 'mu4e-user-agent) (defun mu4e~compose-browse-url-mail (url &optional ignored) "Adapter for `browse-url-mailto-function."