mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-20 03:47:34 +00:00
(read_char): Don't echo keys when echo_keystrokes is 0.
This commit is contained in:
parent
dd1ae35538
commit
8ea231fcac
1 changed files with 3 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue