diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/callint.c | 13 |
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, | |||
| 105 | You may use `@', `*', and `^' together. They are processed in the | 105 | You 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 | ||
| 108 | If MODES is present, it should be a list of mode names (symbols) that | 108 | If MODES is present, it should be one or more mode names (symbols) |
| 109 | this command is applicable for. The main effect of this is that | 109 | for which this command is applicable. This is so that `M-x TAB' |
| 110 | `M-x TAB' will be able to exclude this command from the list of | 110 | will be able to exclude this command from the list of completion |
| 111 | completion candidates if the current buffer's mode doesn't match the list. | 111 | candidates if the current buffer's mode doesn't match the list. |
| 112 | That is, if either the major mode isn't derived from them, or (when it's | 112 | Which commands are excluded from the list of completion |
| 113 | a minor mode) the mode isn't in effect. Which commands are excluded | 113 | candidates based on this information is controlled by the value |
| 114 | from the list of completion candidates is controlled by the value | ||
| 115 | of `read-extended-command-predicate', which see. | 114 | of `read-extended-command-predicate', which see. |
| 116 | 115 | ||
| 117 | usage: (interactive &optional ARG-DESCRIPTOR &rest MODES) */ | 116 | usage: (interactive &optional ARG-DESCRIPTOR &rest MODES) */ |