]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fcall_interactively): In `c' case, use message_nolog
authorRichard M. Stallman <rms@gnu.org>
Wed, 20 Mar 1996 13:34:21 +0000 (13:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 20 Mar 1996 13:34:21 +0000 (13:34 +0000)
instead of message1_nolog.

src/callint.c

index a874053d2299e9fd6f01c9254723074f32ca9c4b..9e9a1f1d0dc6e3bd664710cd5b7742a9e82372c1 100644 (file)
@@ -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 */