1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-22 07:06:48 +02:00

Do not show the electric quote menu if Emacs is too old

This commit is contained in:
Christophe Troestler 2017-01-24 23:19:13 +01:00
parent a9cbead5af
commit bf2f2ee12a

View File

@ -455,8 +455,8 @@ buffers; lets remap its faces so it uses the ones for mu4e."
'(menu-item "Electric quote" electric-quote-local-mode
:button (:toggle . electric-quote-mode)
:help "Toggle Electric quote mode"
:visible (eq major-mode 'mu4e-compose-mode)
:enable (functionp 'electric-quote-local-mode))
:visible (and (eq major-mode 'mu4e-compose-mode)
(functionp 'electric-quote-local-mode)))
'mu4e-hard-newlines)))
(when (lookup-key mml-mode-map [menu-bar Attachments])