summaryrefslogtreecommitdiff
path: root/src/callint.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-01-08 12:43:56 +0200
committerEli Zaretskii <eliz@gnu.org>2023-01-08 12:43:56 +0200
commit5cb01ac5d78e52d276857b45cd1f17e5d53b7899 (patch)
tree7f9fc4590ea09da2bab18cfa2a70728846092f83 /src/callint.c
parent53e64cfb852e8c953e90448970f7d48b3872bc1e (diff)
downloademacs-5cb01ac5d78e52d276857b45cd1f17e5d53b7899.tar.gz
; * src/callint.c (Finteractive): Fix the doc string (bug#60645).
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/callint.c b/src/callint.c
index c60a376b958..04bd64535c9 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -107,9 +107,12 @@ You may use `@', `*', and `^' together. They are processed in the
If MODES is present, it should be a list of mode names (symbols) that
this command is applicable for. The main effect of this is that
-`M-x TAB' (by default) won't list this command if the current buffer's
-mode doesn't match the list. That is, if either the major mode isn't
-derived from them, or (when it's a minor mode) the mode isn't in effect.
+`M-x TAB' will be able to exclude this command from the list of
+completion candidates if the current buffer's mode doesn't match the list.
+That is, if either the major mode isn't derived from them, or (when it's
+a minor mode) the mode isn't in effect. Which commands are excluded
+from the list of completion candidates is controlled by the value
+of `read-extended-command-predicate', which see.
usage: (interactive &optional ARG-DESCRIPTOR &rest MODES) */
attributes: const)