changeset 14847:3065719a83a9

(Fcall_interactively): In `c' case, use message_nolog instead of message1_nolog.
author Richard M. Stallman <rms@gnu.org>
date Wed, 20 Mar 1996 13:34:21 +0000
parents e72246089ebc
children 831061a3e4f1
files src/callint.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/callint.c	Wed Mar 20 13:30:16 1996 +0000
+++ b/src/callint.c	Wed Mar 20 13:34:21 1996 +0000
@@ -480,7 +480,10 @@
 	  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 */