diff options
| author | Gerd Moellmann | 2000-04-18 13:41:33 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-04-18 13:41:33 +0000 |
| commit | 5dbf89bc7d65c1871285e7461a4fdc17bf23a984 (patch) | |
| tree | 058db1d5a90268bfb21d8b21f2e7b5fd8d9e3238 /src | |
| parent | faeb73d448321a33160749dd66f6082843fc9862 (diff) | |
| download | emacs-5dbf89bc7d65c1871285e7461a4fdc17bf23a984.tar.gz emacs-5dbf89bc7d65c1871285e7461a4fdc17bf23a984.zip | |
(read_filtered_event): Cancel and start busy cursor.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lread.c b/src/lread.c index 4d2895ca2e6..c1d4dced48b 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -410,6 +410,11 @@ read_filtered_event (no_switch_frame, ascii_required, error_nonascii, | |||
| 410 | { | 410 | { |
| 411 | register Lisp_Object val, delayed_switch_frame; | 411 | register Lisp_Object val, delayed_switch_frame; |
| 412 | 412 | ||
| 413 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 414 | if (display_busy_cursor_p) | ||
| 415 | cancel_busy_cursor (); | ||
| 416 | #endif | ||
| 417 | |||
| 413 | delayed_switch_frame = Qnil; | 418 | delayed_switch_frame = Qnil; |
| 414 | 419 | ||
| 415 | /* Read until we get an acceptable event. */ | 420 | /* Read until we get an acceptable event. */ |
| @@ -467,6 +472,10 @@ read_filtered_event (no_switch_frame, ascii_required, error_nonascii, | |||
| 467 | if (! NILP (delayed_switch_frame)) | 472 | if (! NILP (delayed_switch_frame)) |
| 468 | unread_switch_frame = delayed_switch_frame; | 473 | unread_switch_frame = delayed_switch_frame; |
| 469 | 474 | ||
| 475 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 476 | if (display_busy_cursor_p) | ||
| 477 | start_busy_cursor (); | ||
| 478 | #endif | ||
| 470 | return val; | 479 | return val; |
| 471 | } | 480 | } |
| 472 | 481 | ||