(read_char): Don't echo keys when echo_keystrokes is 0.

This commit is contained in:
Richard M. Stallman 1994-12-24 01:53:16 +00:00
parent dd1ae35538
commit 8ea231fcac

View 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))