Commit 7f8661a0 authored by Gerd Moellmann's avatar Gerd Moellmann

(mode-line-mode-menu): Add glasses-mode.

parent 97f1dbed
......@@ -322,6 +322,9 @@ Return a string to display in the mode line for the current mode name."
(define-key mode-line-mode-menu [highlight-changes-mode]
`(menu-item ,(purecopy "Highlight changes") highlight-changes-mode
:button (:toggle . highlight-changes-mode)))
(define-key mode-line-mode-menu [glasses-mode]
`(menu-item ,(purecopy "Glasses") glasses-mode
:button (:toggle . glasses-mode)))
(define-key mode-line-mode-menu [hide-ifdef-mode]
`(menu-item ,(purecopy "Hide ifdef") hide-ifdef-mode
:button (:toggle . (bound-and-true-p hide-ifdef-mode))))
......
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