aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-07-13 17:18:11 +0200
committerLars Ingebrigtsen2019-07-13 17:18:11 +0200
commit8620e07a3550824dcef8d889c0c42dceec692b78 (patch)
tree8747837b594e090cdab0a04db38d25a2c1279f57 /src
parente6b40fe511f86524c0e1aa84abc9aef1cab5d706 (diff)
downloademacs-8620e07a3550824dcef8d889c0c42dceec692b78.tar.gz
emacs-8620e07a3550824dcef8d889c0c42dceec692b78.zip
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).
Diffstat (limited to 'src')
-rw-r--r--src/callint.c4
1 files changed, 3 insertions, 1 deletions
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
54 arguments to the command, concatenate the individual strings, 54 arguments to the command, concatenate the individual strings,
55 separating them by newline characters. 55 separating them by newline characters.
56 56
57Prompts are passed to `format', and may use % escapes to print the 57Prompts are passed to `format', and may use %s escapes to print the
58 arguments that have already been read. 58 arguments that have already been read.
59
59If the argument is not a string, it is evaluated to get a list of 60If the argument is not a string, it is evaluated to get a list of
60 arguments to pass to the command. 61 arguments to pass to the command.
62
61Just `(interactive)' means pass no arguments to the command when 63Just `(interactive)' means pass no arguments to the command when
62 calling interactively. 64 calling interactively.
63 65