aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-02-21 13:57:40 +0000
committerGerd Moellmann2001-02-21 13:57:40 +0000
commit526a058f123a37ff67adad48fe9b3bd072b7aa69 (patch)
treea1c483624837c9ef69b00716e88d0de6bb3c8842 /src
parent5fa360661b35726aac8a3d18cef0d8f9baeab5c9 (diff)
downloademacs-526a058f123a37ff67adad48fe9b3bd072b7aa69.tar.gz
emacs-526a058f123a37ff67adad48fe9b3bd072b7aa69.zip
Use display_hourglass_p, start_hourglass,
cancel_hourglass instead of the old names.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c36
-rw-r--r--src/minibuf.c8
2 files changed, 22 insertions, 22 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 6401389ca5a..53e918d30ba 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1,5 +1,5 @@
1/* Keyboard and mouse input; editor command loop. 1/* Keyboard and mouse input; editor command loop.
2 Copyright (C) 1985,86,87,88,89,93,94,95,96,97,99, 2000 2 Copyright (C) 1985,86,87,88,89,93,94,95,96,97,99, 2000, 2001
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -920,11 +920,11 @@ recursive_edit_1 ()
920 } 920 }
921 921
922#ifdef HAVE_X_WINDOWS 922#ifdef HAVE_X_WINDOWS
923 /* The command loop has started a busy-cursor timer, so we have to 923 /* The command loop has started an hourglass timer, so we have to
924 cancel it here, otherwise it will fire because the recursive edit 924 cancel it here, otherwise it will fire because the recursive edit
925 can take some time. */ 925 can take some time. */
926 if (display_busy_cursor_p) 926 if (display_hourglass_p)
927 cancel_busy_cursor (); 927 cancel_hourglass ();
928#endif 928#endif
929 929
930 /* This function may have been called from a debugger called from 930 /* This function may have been called from a debugger called from
@@ -1249,8 +1249,8 @@ DEFUN ("top-level", Ftop_level, Stop_level, 0, 0, "",
1249 () 1249 ()
1250{ 1250{
1251#ifdef HAVE_X_WINDOWS 1251#ifdef HAVE_X_WINDOWS
1252 if (display_busy_cursor_p) 1252 if (display_hourglass_p)
1253 cancel_busy_cursor (); 1253 cancel_hourglass ();
1254#endif 1254#endif
1255 return Fthrow (Qtop_level, Qnil); 1255 return Fthrow (Qtop_level, Qnil);
1256} 1256}
@@ -1606,8 +1606,8 @@ command_loop_1 ()
1606 /* Here for a command that isn't executed directly */ 1606 /* Here for a command that isn't executed directly */
1607 1607
1608#ifdef HAVE_X_WINDOWS 1608#ifdef HAVE_X_WINDOWS
1609 if (display_busy_cursor_p) 1609 if (display_hourglass_p)
1610 start_busy_cursor (); 1610 start_hourglass ();
1611#endif 1611#endif
1612 1612
1613 nonundocount = 0; 1613 nonundocount = 0;
@@ -1616,8 +1616,8 @@ command_loop_1 ()
1616 Fcommand_execute (Vthis_command, Qnil, Qnil, Qnil); 1616 Fcommand_execute (Vthis_command, Qnil, Qnil, Qnil);
1617 1617
1618#ifdef HAVE_X_WINDOWS 1618#ifdef HAVE_X_WINDOWS
1619 if (display_busy_cursor_p) 1619 if (display_hourglass_p)
1620 cancel_busy_cursor (); 1620 cancel_hourglass ();
1621#endif 1621#endif
1622 } 1622 }
1623 directly_done: ; 1623 directly_done: ;
@@ -8896,8 +8896,8 @@ DEFUN ("read-key-sequence", Fread_key_sequence, Sread_key_sequence, 1, 5, 0,
8896 } 8896 }
8897 8897
8898#ifdef HAVE_X_WINDOWS 8898#ifdef HAVE_X_WINDOWS
8899 if (display_busy_cursor_p) 8899 if (display_hourglass_p)
8900 cancel_busy_cursor (); 8900 cancel_hourglass ();
8901#endif 8901#endif
8902 8902
8903 i = read_key_sequence (keybuf, (sizeof keybuf/sizeof (keybuf[0])), 8903 i = read_key_sequence (keybuf, (sizeof keybuf/sizeof (keybuf[0])),
@@ -8908,8 +8908,8 @@ DEFUN ("read-key-sequence", Fread_key_sequence, Sread_key_sequence, 1, 5, 0,
8908 then proceeding with a lenghty compuation, but it's not good 8908 then proceeding with a lenghty compuation, but it's not good
8909 for code reading keys in a loop, like an input method. */ 8909 for code reading keys in a loop, like an input method. */
8910#ifdef HAVE_X_WINDOWS 8910#ifdef HAVE_X_WINDOWS
8911 if (display_busy_cursor_p) 8911 if (display_hourglass_p)
8912 start_busy_cursor (); 8912 start_hourglass ();
8913#endif 8913#endif
8914#endif 8914#endif
8915 8915
@@ -8955,8 +8955,8 @@ DEFUN ("read-key-sequence-vector", Fread_key_sequence_vector,
8955 } 8955 }
8956 8956
8957#ifdef HAVE_X_WINDOWS 8957#ifdef HAVE_X_WINDOWS
8958 if (display_busy_cursor_p) 8958 if (display_hourglass_p)
8959 cancel_busy_cursor (); 8959 cancel_hourglass ();
8960#endif 8960#endif
8961 8961
8962 i = read_key_sequence (keybuf, (sizeof keybuf/sizeof (keybuf[0])), 8962 i = read_key_sequence (keybuf, (sizeof keybuf/sizeof (keybuf[0])),
@@ -8964,8 +8964,8 @@ DEFUN ("read-key-sequence-vector", Fread_key_sequence_vector,
8964 ! NILP (can_return_switch_frame), 0); 8964 ! NILP (can_return_switch_frame), 0);
8965 8965
8966#ifdef HAVE_X_WINDOWS 8966#ifdef HAVE_X_WINDOWS
8967 if (display_busy_cursor_p) 8967 if (display_hourglass_p)
8968 start_busy_cursor (); 8968 start_hourglass ();
8969#endif 8969#endif
8970 8970
8971 if (i == -1) 8971 if (i == -1)
diff --git a/src/minibuf.c b/src/minibuf.c
index 9809a3232c4..a5e8bf8369e 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1,6 +1,6 @@
1/* Minibuffer input and completion. 1/* Minibuffer input and completion.
2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 Free Software Foundation, Inc. 3 2000, 2001 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -368,8 +368,8 @@ read_minibuf (map, initial, prompt, backup_n, expflag,
368 368
369 single_kboard_state (); 369 single_kboard_state ();
370#ifdef HAVE_X_WINDOWS 370#ifdef HAVE_X_WINDOWS
371 if (display_busy_cursor_p) 371 if (display_hourglass_p)
372 cancel_busy_cursor (); 372 cancel_hourglass ();
373#endif 373#endif
374 374
375 val = Qnil; 375 val = Qnil;