[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master aefdde9: add-minor-mode doc string clarification
From: |
Lars Ingebrigtsen |
Subject: |
master aefdde9: add-minor-mode doc string clarification |
Date: |
Sat, 13 Feb 2021 06:46:43 -0500 (EST) |
branch: master
commit aefdde96367ba38dbff8fa1761f44d5534fccaba
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
add-minor-mode doc string clarification
* lisp/subr.el (add-minor-mode): Clarify that this function isn't
only about XEmacs compat stuff.
---
lisp/subr.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/subr.el b/lisp/subr.el
index 70ee281..d215bd2 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2318,7 +2318,8 @@ tho trying to avoid AVOIDED-MODES."
(defun add-minor-mode (toggle name &optional keymap after toggle-fun)
"Register a new minor mode.
-This is an XEmacs-compatibility function. Use `define-minor-mode' instead.
+This function shouldn't be used directly -- use `define-minor-mode'
+instead (which will then call this function).
TOGGLE is a symbol that is the name of a buffer-local variable that
is toggled on or off to say whether the minor mode is active or not.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master aefdde9: add-minor-mode doc string clarification,
Lars Ingebrigtsen <=