summaryrefslogtreecommitdiff
path: root/src/callint.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-01-09 14:03:04 +0200
committerEli Zaretskii <eliz@gnu.org>2023-01-09 14:03:04 +0200
commitebc5263667b17af30d8e91b47aba0cdd67a389d4 (patch)
tree5ad7a685089e34bcebe0f07fb01fd276243e062d /src/callint.c
parentc1401d1c6c834c4b264cc2435f562b28bc9c83a8 (diff)
downloademacs-ebc5263667b17af30d8e91b47aba0cdd67a389d4.tar.gz
; * src/callint.c (Finteractive): Doc string clarification.
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/callint.c b/src/callint.c
index 04bd64535c9..d8d2b278458 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -105,13 +105,12 @@ If the string begins with `^' and `shift-select-mode' is non-nil,
You may use `@', `*', and `^' together. They are processed in the
order that they appear, before reading any arguments.
-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' 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
+If MODES is present, it should be one or more mode names (symbols)
+for which this command is applicable. This is so that `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.
+Which commands are excluded from the list of completion
+candidates based on this information is controlled by the value
of `read-extended-command-predicate', which see.
usage: (interactive &optional ARG-DESCRIPTOR &rest MODES) */