Mercurial > emacs
comparison src/keyboard.c @ 34174:f3a177a97f12
(Fread_key_sequence): Don't start the busy cursor
timer after having read a key. It's not good for code reading
several keys in a loop, like an input method.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 04 Dec 2000 14:48:10 +0000 |
parents | cfbe6873d494 |
children | 9e2f85266e61 |
comparison
equal
deleted
inserted
replaced
34173:ddf7d535df2a | 34174:f3a177a97f12 |
---|---|
8856 | 8856 |
8857 i = read_key_sequence (keybuf, (sizeof keybuf/sizeof (keybuf[0])), | 8857 i = read_key_sequence (keybuf, (sizeof keybuf/sizeof (keybuf[0])), |
8858 prompt, ! NILP (dont_downcase_last), | 8858 prompt, ! NILP (dont_downcase_last), |
8859 ! NILP (can_return_switch_frame), 0); | 8859 ! NILP (can_return_switch_frame), 0); |
8860 | 8860 |
8861 #if 0 /* The following is fine for code reading a key sequence and | |
8862 then proceeding with a lenghty compuation, but it's not good | |
8863 for code reading keys in a loop, like an input method. */ | |
8861 #ifdef HAVE_X_WINDOWS | 8864 #ifdef HAVE_X_WINDOWS |
8862 if (display_busy_cursor_p) | 8865 if (display_busy_cursor_p) |
8863 start_busy_cursor (); | 8866 start_busy_cursor (); |
8867 #endif | |
8864 #endif | 8868 #endif |
8865 | 8869 |
8866 if (i == -1) | 8870 if (i == -1) |
8867 { | 8871 { |
8868 Vquit_flag = Qt; | 8872 Vquit_flag = Qt; |