From: Gerd Moellmann Date: Mon, 4 Dec 2000 14:48:32 +0000 (+0000) Subject: (Fread_key_sequence): Don't start the busy cursor X-Git-Tag: emacs-pretest-21.0.93~243 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ae18aa3b610f1de4fe2b81595090deedefe6f836;p=emacs.git (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. --- diff --git a/src/ChangeLog b/src/ChangeLog index 16f14167313..e484ffed576 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2000-12-04 Gerd Moellmann + * keyboard.c (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. + * fileio.c (Finsert_file_contents): When VISIT is t, don't record undo information for format-decode. diff --git a/src/keyboard.c b/src/keyboard.c index 07f0bc3c423..b23e08959e4 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -8858,9 +8858,13 @@ DEFUN ("read-key-sequence", Fread_key_sequence, Sread_key_sequence, 1, 5, 0, prompt, ! NILP (dont_downcase_last), ! NILP (can_return_switch_frame), 0); +#if 0 /* The following is fine for code reading a key sequence and + then proceeding with a lenghty compuation, but it's not good + for code reading keys in a loop, like an input method. */ #ifdef HAVE_X_WINDOWS if (display_busy_cursor_p) start_busy_cursor (); +#endif #endif if (i == -1)