aboutsummaryrefslogtreecommitdiffstats
path: root/src/callint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/callint.c b/src/callint.c
index c60a376b958..d8d2b278458 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -105,11 +105,13 @@ If the string begins with `^' and `shift-select-mode' is non-nil,
105You may use `@', `*', and `^' together. They are processed in the 105You may use `@', `*', and `^' together. They are processed in the
106 order that they appear, before reading any arguments. 106 order that they appear, before reading any arguments.
107 107
108If MODES is present, it should be a list of mode names (symbols) that 108If MODES is present, it should be one or more mode names (symbols)
109this command is applicable for. The main effect of this is that 109for which this command is applicable. This is so that `M-x TAB'
110`M-x TAB' (by default) won't list this command if the current buffer's 110will be able to exclude this command from the list of completion
111mode doesn't match the list. That is, if either the major mode isn't 111candidates if the current buffer's mode doesn't match the list.
112derived from them, or (when it's a minor mode) the mode isn't in effect. 112Which commands are excluded from the list of completion
113candidates based on this information is controlled by the value
114of `read-extended-command-predicate', which see.
113 115
114usage: (interactive &optional ARG-DESCRIPTOR &rest MODES) */ 116usage: (interactive &optional ARG-DESCRIPTOR &rest MODES) */
115 attributes: const) 117 attributes: const)