diff options
| author | Richard M. Stallman | 2002-04-13 17:48:10 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-04-13 17:48:10 +0000 |
| commit | e1204d39fc0c2d0effd5d782d9f620b769c99fc0 (patch) | |
| tree | e5797df30d0ecd0c9a6aa4580f9238b94d3346ea /src | |
| parent | 59d360666731e862157766646d732b73f19295d2 (diff) | |
| download | emacs-e1204d39fc0c2d0effd5d782d9f620b769c99fc0.tar.gz emacs-e1204d39fc0c2d0effd5d782d9f620b769c99fc0.zip | |
(command_loop_1): Don't call start_hourglass
or cancel_hourglass when executing a macro.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 2d46a1d99a9..cd3aa3793fb 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1651,7 +1651,8 @@ command_loop_1 () | |||
| 1651 | /* Here for a command that isn't executed directly */ | 1651 | /* Here for a command that isn't executed directly */ |
| 1652 | 1652 | ||
| 1653 | #ifdef HAVE_X_WINDOWS | 1653 | #ifdef HAVE_X_WINDOWS |
| 1654 | if (display_hourglass_p) | 1654 | if (display_hourglass_p |
| 1655 | && NILP (Vexecuting_macro)) | ||
| 1655 | start_hourglass (); | 1656 | start_hourglass (); |
| 1656 | #endif | 1657 | #endif |
| 1657 | 1658 | ||
| @@ -1663,8 +1664,11 @@ command_loop_1 () | |||
| 1663 | #ifdef HAVE_X_WINDOWS | 1664 | #ifdef HAVE_X_WINDOWS |
| 1664 | /* Do not check display_hourglass_p here, because | 1665 | /* Do not check display_hourglass_p here, because |
| 1665 | Fcommand_execute could change it, but we should cancel | 1666 | Fcommand_execute could change it, but we should cancel |
| 1666 | hourglass cursor anyway. */ | 1667 | hourglass cursor anyway. |
| 1667 | cancel_hourglass (); | 1668 | But don't cancel the hourglass within a macro |
| 1669 | just because a command in the macro finishes. */ | ||
| 1670 | if (NILP (Vexecuting_macro)) | ||
| 1671 | cancel_hourglass (); | ||
| 1668 | #endif | 1672 | #endif |
| 1669 | } | 1673 | } |
| 1670 | directly_done: ; | 1674 | directly_done: ; |