mu4e: unbreak sending mail when gnus-agents is unplugged in gnus (#462)

This commit is contained in:
djcb 2014-10-12 10:36:33 +03:00
parent 168610b719
commit 34f42e799b
1 changed files with 3 additions and 2 deletions

View File

@ -267,8 +267,9 @@ appear on disk."
\\{message-mode-map}."
(progn
(use-local-map mu4e-compose-mode-map)
(set (make-local-variable 'message-signature)
mu4e-compose-signature)
(set (make-local-variable 'message-signature) mu4e-compose-signature)
;; set this to allow mu4e to work when gnus-agent is unplugged in gnus
(set (make-local-variable 'message-send-mail-real-function) nil)
(make-local-variable 'message-default-charset)
;; if the default charset is not set, use UTF-8
(unless message-default-charset