mirror of https://github.com/djcb/mu.git
Make electric-quote-(local-)mode work when composing emails
electric-quote-(local-)mode used to have no effect because `comment-use-syntax' was left to `undecided' so the electric mode was not enabled for paragraphs. Fixes https://github.com/djcb/mu/issues/997
This commit is contained in:
parent
fb8e148878
commit
9cb0772993
|
@ -407,6 +407,8 @@ buffers; lets remap its faces so it uses the ones for mu4e."
|
|||
;; 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)
|
||||
;; Set to nil to enable `electric-quote-local-mode' to work:
|
||||
(set (make-variable-buffer-local 'comment-use-syntax) nil)
|
||||
;; message-mode has font-locking, but uses its own faces. Let's
|
||||
;; use the mu4e-specific ones instead
|
||||
(mu4e~compose-remap-faces)
|
||||
|
|
Loading…
Reference in New Issue