From 8620e07a3550824dcef8d889c0c42dceec692b78 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 13 Jul 2019 17:18:11 +0200 Subject: [PATCH] Doc fix for Finteractive (only %s is allowed) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * 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). --- src/callint.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.39.2