From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/elisp/mode-help.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 devdocs/elisp/mode-help.html (limited to 'devdocs/elisp/mode-help.html') diff --git a/devdocs/elisp/mode-help.html b/devdocs/elisp/mode-help.html new file mode 100644 index 00000000..f61bc6ee --- /dev/null +++ b/devdocs/elisp/mode-help.html @@ -0,0 +1,10 @@ +

Getting Help about a Major Mode

The 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.

Command: describe-mode &optional buffer +
+

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 Accessing Documentation).

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.

+
+
+

+ Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
+ https://www.gnu.org/software/emacs/manual/html_node/elisp/Mode-Help.html +

+
-- cgit v1.2.3