diff options
| author | Richard M. Stallman | 1994-12-24 01:53:16 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-12-24 01:53:16 +0000 |
| commit | 8ea231fcaccf51358be485271c44ec9aeda337e1 (patch) | |
| tree | 1311738d677071a18c01df8e8d8de4e284321e83 | |
| parent | dd1ae35538db74e01b7f32b61a22e7c4ec271387 (diff) | |
| download | emacs-8ea231fcaccf51358be485271c44ec9aeda337e1.tar.gz emacs-8ea231fcaccf51358be485271c44ec9aeda337e1.zip | |
(read_char): Don't echo keys when echo_keystrokes is 0.
| -rw-r--r-- | src/keyboard.c | 5 |
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)) |