mu4e: unbreak sending mail when gnus-agents is unplugged in gnus (#462)
This commit is contained in:
@ -267,8 +267,9 @@ appear on disk."
|
|||||||
\\{message-mode-map}."
|
\\{message-mode-map}."
|
||||||
(progn
|
(progn
|
||||||
(use-local-map mu4e-compose-mode-map)
|
(use-local-map mu4e-compose-mode-map)
|
||||||
(set (make-local-variable 'message-signature)
|
(set (make-local-variable 'message-signature) mu4e-compose-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)
|
(make-local-variable 'message-default-charset)
|
||||||
;; if the default charset is not set, use UTF-8
|
;; if the default charset is not set, use UTF-8
|
||||||
(unless message-default-charset
|
(unless message-default-charset
|
||||||
|
|||||||
Reference in New Issue
Block a user