]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_char): Don't echo keys when echo_keystrokes is 0.
authorRichard M. Stallman <rms@gnu.org>
Sat, 24 Dec 1994 01:53:16 +0000 (01:53 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 24 Dec 1994 01:53:16 +0000 (01:53 +0000)
src/keyboard.c

index 2819328c4e33725beb5221ef45a7c14fa0306553..2db086c0d10eafa699e2dee0ca4e333953c64ee8 100644 (file)
@@ -1815,8 +1815,9 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
  reread_first:
 
   /* Don't echo mouse motion events.  */
-  if (! (EVENT_HAS_PARAMETERS (c)
-        && EQ (EVENT_HEAD_KIND (EVENT_HEAD (c)), Qmouse_movement)))
+  if (echo_keystrokes
+      && ! (EVENT_HAS_PARAMETERS (c)
+           && EQ (EVENT_HEAD_KIND (EVENT_HEAD (c)), Qmouse_movement)))
     {
       echo_char (c);
       if (! NILP (also_record))