changeset 10233:100a10bb4d47

(read_char): Don't echo keys when echo_keystrokes is 0.
author Richard M. Stallman <rms@gnu.org>
date Sat, 24 Dec 1994 01:53:16 +0000
parents ace1fffa8d96
children 170c4c188d4f
files src/keyboard.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sat Dec 24 01:35:28 1994 +0000
+++ b/src/keyboard.c	Sat Dec 24 01:53:16 1994 +0000
@@ -1815,8 +1815,9 @@
  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))