From 491ee8415ef56793ea9a1e6a26b224648c8e2390 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 20 Mar 1996 13:34:21 +0000 Subject: [PATCH] (Fcall_interactively): In `c' case, use message_nolog instead of message1_nolog. --- src/callint.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ -- 2.39.2