From: Lars Ingebrigtsen Date: Sat, 13 Jul 2019 15:18:11 +0000 (+0200) Subject: Doc fix for Finteractive (only %s is allowed) X-Git-Tag: emacs-27.0.90~1942 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8620e07a3550824dcef8d889c0c42dceec692b78;p=emacs.git Doc fix for Finteractive (only %s is allowed) * src/callint.c (Finteractive): Any other format spec than %s will bug out with "Format specifier doesn’t match argument type", so say explicitly that only %s is supported (bug#31314). --- diff --git a/src/callint.c b/src/callint.c index 88a3c348d0a..812287d365f 100644 --- a/src/callint.c +++ b/src/callint.c @@ -54,10 +54,12 @@ Usually the argument of `interactive' is a string containing a code arguments to the command, concatenate the individual strings, separating them by newline characters. -Prompts are passed to `format', and may use % escapes to print the +Prompts are passed to `format', and may use %s escapes to print the arguments that have already been read. + If the argument is not a string, it is evaluated to get a list of arguments to pass to the command. + Just `(interactive)' means pass no arguments to the command when calling interactively.