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/minor-modes.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 devdocs/elisp/minor-modes.html (limited to 'devdocs/elisp/minor-modes.html') diff --git a/devdocs/elisp/minor-modes.html b/devdocs/elisp/minor-modes.html new file mode 100644 index 00000000..388e386b --- /dev/null +++ b/devdocs/elisp/minor-modes.html @@ -0,0 +1,27 @@ +

Minor Modes

A minor mode provides optional features that users may enable or disable independently of the choice of major mode. Minor modes can be enabled individually or in combination.

Most minor modes implement features that are independent of the major mode, and can thus be used with most major modes. For example, Auto Fill mode works with any major mode that permits text insertion. A few minor modes, however, are specific to a particular major mode. For example, Diff Auto Refine mode is a minor mode that is intended to be used only with Diff mode.

Ideally, a minor mode should have its desired effect regardless of the other minor modes in effect. It should be possible to activate and deactivate minor modes in any order.

Variable: local-minor-modes +

This buffer-local variable lists the currently enabled minor modes in the current buffer, and is a list of symbols.

+
Variable: global-minor-modes +

This variable lists the currently enabled global minor modes, and is a list of symbols.

+
Variable: minor-mode-list +

The value of this variable is a list of all minor mode commands.

+
+ + + + + + + + + + + +
+

+ 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/Minor-Modes.html +

+
-- cgit v1.2.3