aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 88c6b640889..a43f9f5d7f0 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -584,7 +584,13 @@ echo ()
584 immediate_echo = 1; 584 immediate_echo = 1;
585 585
586 for (i = 0; i < this_command_key_count; i++) 586 for (i = 0; i < this_command_key_count; i++)
587 echo_char (XVECTOR (this_command_keys)->contents[i]); 587 {
588 Lisp_Object c;
589 c = XVECTOR (this_command_keys)->contents[i];
590 if (! (EVENT_HAS_PARAMETERS (c)
591 && EQ (EVENT_HEAD_KIND (EVENT_HEAD (c)), Qmouse_movement)))
592 echo_char (c);
593 }
588 echo_dash (); 594 echo_dash ();
589 } 595 }
590 596
@@ -1309,12 +1315,21 @@ set_poll_suppress_count (count)
1309#endif 1315#endif
1310} 1316}
1311 1317
1318/* Bind polling_period to a value at least N.
1319 But don't decrease it. */
1320
1312bind_polling_period (n) 1321bind_polling_period (n)
1313 int n; 1322 int n;
1314{ 1323{
1315#ifdef POLL_FOR_INPUT 1324#ifdef POLL_FOR_INPUT
1325 int new = polling_period;
1326
1327 if (n > new)
1328 new = n;
1329
1316 stop_polling (); 1330 stop_polling ();
1317 specbind (Qpolling_period, make_number (n)); 1331 specbind (Qpolling_period, make_number (new));
1332 /* Start a new alarm with the new period. */
1318 start_polling (); 1333 start_polling ();
1319#endif 1334#endif
1320} 1335}