Commit 3296976d authored by Chong Yidong's avatar Chong Yidong

* keyboard.c (timer_check): Avoid quitting during Fcopy_sequence.

parent 51c4474e
2012-09-23 Chong Yidong <cyd@gnu.org>
* keyboard.c (timer_check): Avoid quitting during Fcopy_sequence.
2012-09-22 Paul Eggert <eggert@cs.ucla.edu>
* .gdbinit: Just stop at fatal_error_backtrace.
......
......@@ -4496,6 +4496,9 @@ timer_check (void)
Lisp_Object timers, idle_timers;
struct gcpro gcpro1, gcpro2;
Lisp_Object tem = Vinhibit_quit;
Vinhibit_quit = Qt;
/* We use copies of the timers' lists to allow a timer to add itself
again, without locking up Emacs if the newly added timer is
already ripe when added. */
......@@ -4508,6 +4511,8 @@ timer_check (void)
else
idle_timers = Qnil;
Vinhibit_quit = tem;
GCPRO2 (timers, idle_timers);
do
......
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