aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/keyboard.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 676f4127ba5..b60027880fe 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12012-09-23 Chong Yidong <cyd@gnu.org>
2
3 * keyboard.c (timer_check): Avoid quitting during Fcopy_sequence.
4
12012-09-22 Paul Eggert <eggert@cs.ucla.edu> 52012-09-22 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 * .gdbinit: Just stop at fatal_error_backtrace. 7 * .gdbinit: Just stop at fatal_error_backtrace.
diff --git a/src/keyboard.c b/src/keyboard.c
index 8b1113a026a..c5a741abc10 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -4496,6 +4496,9 @@ timer_check (void)
4496 Lisp_Object timers, idle_timers; 4496 Lisp_Object timers, idle_timers;
4497 struct gcpro gcpro1, gcpro2; 4497 struct gcpro gcpro1, gcpro2;
4498 4498
4499 Lisp_Object tem = Vinhibit_quit;
4500 Vinhibit_quit = Qt;
4501
4499 /* We use copies of the timers' lists to allow a timer to add itself 4502 /* We use copies of the timers' lists to allow a timer to add itself
4500 again, without locking up Emacs if the newly added timer is 4503 again, without locking up Emacs if the newly added timer is
4501 already ripe when added. */ 4504 already ripe when added. */
@@ -4508,6 +4511,8 @@ timer_check (void)
4508 else 4511 else
4509 idle_timers = Qnil; 4512 idle_timers = Qnil;
4510 4513
4514 Vinhibit_quit = tem;
4515
4511 GCPRO2 (timers, idle_timers); 4516 GCPRO2 (timers, idle_timers);
4512 4517
4513 do 4518 do