summaryrefslogtreecommitdiff
path: root/src/callint.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-03-20 13:34:21 +0000
committerRichard M. Stallman <rms@gnu.org>1996-03-20 13:34:21 +0000
commitd12c757553a01e3e7e33f4da859e421204a064a0 (patch)
tree725a85c6c3a4b5452249f96d1c110b25ed72681d /src/callint.c
parent363c268bd8d91edb018f7b39b4767170db651e37 (diff)
downloademacs-d12c757553a01e3e7e33f4da859e421204a064a0.tar.gz
(Fcall_interactively): In `c' case, use message_nolog
instead of message1_nolog.
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/callint.c b/src/callint.c
index a874053d229..9e9a1f1d0dc 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -480,7 +480,10 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
break;
case 'c': /* Character */
- message1_nolog (callint_message);
+ /* Use message_nolog rather than message1_nolog here,
+ so that nothing bad happens if callint_message is changed
+ within Fread_char (by a timer, for example). */
+ message_nolog ("%s", callint_message);
args[i] = Fread_char ();
message1_nolog ((char *) 0);
/* Passing args[i] directly stimulates compiler bug */