aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-04 14:48:32 +0000
committerGerd Moellmann2000-12-04 14:48:32 +0000
commitae18aa3b610f1de4fe2b81595090deedefe6f836 (patch)
tree4fdaf5441ef25dd644386c73ffacd989cf6a10b7 /src
parentc3d83ef1d56ca65e6cd51920b1864cc0f48f5e8b (diff)
downloademacs-ae18aa3b610f1de4fe2b81595090deedefe6f836.tar.gz
emacs-ae18aa3b610f1de4fe2b81595090deedefe6f836.zip
(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.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/keyboard.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 16f14167313..e484ffed576 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12000-12-04 Gerd Moellmann <gerd@gnu.org> 12000-12-04 Gerd Moellmann <gerd@gnu.org>
2 2
3 * keyboard.c (Fread_key_sequence): Don't start the busy cursor
4 timer after having read a key. It's not good for code reading
5 several keys in a loop, like an input method.
6
3 * fileio.c (Finsert_file_contents): When VISIT is t, don't 7 * fileio.c (Finsert_file_contents): When VISIT is t, don't
4 record undo information for format-decode. 8 record undo information for format-decode.
5 9
diff --git a/src/keyboard.c b/src/keyboard.c
index 07f0bc3c423..b23e08959e4 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -8858,10 +8858,14 @@ DEFUN ("read-key-sequence", Fread_key_sequence, Sread_key_sequence, 1, 5, 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 ();
8864#endif 8867#endif
8868#endif
8865 8869
8866 if (i == -1) 8870 if (i == -1)
8867 { 8871 {