aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-02-13 12:46:34 +0100
committerLars Ingebrigtsen2021-02-13 12:46:34 +0100
commitaefdde96367ba38dbff8fa1761f44d5534fccaba (patch)
treed133f7c5ee11f2793c4058b93eabf9653c1172cd
parent06639a4ab27887804539f3dc9b805756e6020660 (diff)
downloademacs-aefdde96367ba38dbff8fa1761f44d5534fccaba.tar.gz
emacs-aefdde96367ba38dbff8fa1761f44d5534fccaba.zip
add-minor-mode doc string clarification
* lisp/subr.el (add-minor-mode): Clarify that this function isn't only about XEmacs compat stuff.
-rw-r--r--lisp/subr.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 70ee281fe6e..d215bd29a91 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2318,7 +2318,8 @@ tho trying to avoid AVOIDED-MODES."
2318(defun add-minor-mode (toggle name &optional keymap after toggle-fun) 2318(defun add-minor-mode (toggle name &optional keymap after toggle-fun)
2319 "Register a new minor mode. 2319 "Register a new minor mode.
2320 2320
2321This is an XEmacs-compatibility function. Use `define-minor-mode' instead. 2321This function shouldn't be used directly -- use `define-minor-mode'
2322instead (which will then call this function).
2322 2323
2323TOGGLE is a symbol that is the name of a buffer-local variable that 2324TOGGLE is a symbol that is the name of a buffer-local variable that
2324is toggled on or off to say whether the minor mode is active or not. 2325is toggled on or off to say whether the minor mode is active or not.