From 5cb01ac5d78e52d276857b45cd1f17e5d53b7899 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 8 Jan 2023 12:43:56 +0200 Subject: [PATCH] ; * src/callint.c (Finteractive): Fix the doc string (bug#60645). --- src/callint.c | 9 ++++++--- 1 file 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) -- 2.39.5