]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fread_key_sequence): Don't start the busy cursor
authorGerd Moellmann <gerd@gnu.org>
Mon, 4 Dec 2000 14:48:32 +0000 (14:48 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 4 Dec 2000 14:48:32 +0000 (14:48 +0000)
timer after having read a key.  It's not good for code reading
several keys in a loop, like an input method.

src/ChangeLog
src/keyboard.c

index 16f14167313b3167652c91b923bd22b4da8f1af7..e484ffed5768e49a34f29924d7d21ee6119d3ae3 100644 (file)
@@ -1,5 +1,9 @@
 2000-12-04  Gerd Moellmann  <gerd@gnu.org>
 
+       * 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.
 
index 07f0bc3c423eed9f40081d47b84f8d928d567b79..b23e08959e4a3f560cc73641067605b099aae3ea 100644 (file)
@@ -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)