Commit 17849b4a authored by Eli Zaretskii's avatar Eli Zaretskii

(ispell-menu-map-needed) [ispell-message]: Be visible only if major mode

is Mail Mode.
parent 5a893bff
......@@ -1086,6 +1086,7 @@ The variable `ispell-library-directory' defines the library location."
:help "Spell-check text in marked region"))
(define-key ispell-menu-map [ispell-message]
'(menu-item "Spell-Check Message" ispell-message
:visible (eq major-mode 'mail-mode)
:help "Skip headers and included message text"))
(define-key ispell-menu-map [ispell-buffer]
'(menu-item "Spell-Check Buffer" ispell-buffer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment