Next: Defining Derived Modes, Previous: How Emacs Chooses a Major Mode, Up: Major Modes [Contents][Index]
24.2.3 Getting Help about a Major ModeThe describe-mode
function provides information about major modes. It is normally bound to C-h m. It uses the value of the variable major-mode
(see Major Modes), which is why every major mode command needs to set that variable.
This command displays the documentation of the current buffer’s major mode and minor modes. It uses the documentation
function to retrieve the documentation strings of the major and minor mode commands (see Access to Documentation Strings).
If called from Lisp with a non-nil
buffer argument, this function displays the documentation for that buffer’s major and minor modes, rather than those of the current buffer.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4