[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 8620e07 2/2: Doc fix for Finteractive (only %s is a
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 8620e07 2/2: Doc fix for Finteractive (only %s is allowed) |
Date: |
Sat, 13 Jul 2019 11:20:21 -0400 (EDT) |
branch: master
commit 8620e07a3550824dcef8d889c0c42dceec692b78
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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).
---
src/callint.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/callint.c b/src/callint.c
index 88a3c34..812287d 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.