Emacs: How to Turn Major/Minor Mode on/off?
Page content moved. See:
Emacs: What's Major Mode?
Writing a Toggle Mode Command
You can write a toggle command that toggles a set of minor modes or other things such as switching between 2 fonts. See: Emacs Lisp: How to Write a Toggle/Cycle Command
Like it? Buy Xah Emacs Tutorial. ♥ Thanks.
or, buy something from my keyboard store.