aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-12-24 01:53:16 +0000
committerRichard M. Stallman1994-12-24 01:53:16 +0000
commit8ea231fcaccf51358be485271c44ec9aeda337e1 (patch)
tree1311738d677071a18c01df8e8d8de4e284321e83 /src
parentdd1ae35538db74e01b7f32b61a22e7c4ec271387 (diff)
downloademacs-8ea231fcaccf51358be485271c44ec9aeda337e1.tar.gz
emacs-8ea231fcaccf51358be485271c44ec9aeda337e1.zip
(read_char): Don't echo keys when echo_keystrokes is 0.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 2819328c4e3..2db086c0d10 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1815,8 +1815,9 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
1815 reread_first: 1815 reread_first:
1816 1816
1817 /* Don't echo mouse motion events. */ 1817 /* Don't echo mouse motion events. */
1818 if (! (EVENT_HAS_PARAMETERS (c) 1818 if (echo_keystrokes
1819 && EQ (EVENT_HEAD_KIND (EVENT_HEAD (c)), Qmouse_movement))) 1819 && ! (EVENT_HAS_PARAMETERS (c)
1820 && EQ (EVENT_HEAD_KIND (EVENT_HEAD (c)), Qmouse_movement)))
1820 { 1821 {
1821 echo_char (c); 1822 echo_char (c);
1822 if (! NILP (also_record)) 1823 if (! NILP (also_record))