Commit e1204d39 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(command_loop_1): Don't call start_hourglass

or cancel_hourglass when executing a macro.
parent 59d36066
......@@ -1651,7 +1651,8 @@ command_loop_1 ()
/* Here for a command that isn't executed directly */
if (display_hourglass_p)
if (display_hourglass_p
&& NILP (Vexecuting_macro))
start_hourglass ();
......@@ -1663,8 +1664,11 @@ command_loop_1 ()
/* Do not check display_hourglass_p here, because
Fcommand_execute could change it, but we should cancel
hourglass cursor anyway. */
cancel_hourglass ();
hourglass cursor anyway.
But don't cancel the hourglass within a macro
just because a command in the macro finishes. */
if (NILP (Vexecuting_macro))
cancel_hourglass ();
directly_done: ;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment