diff options
| author | Eli Zaretskii | 2012-09-22 16:16:03 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-09-22 16:16:03 +0300 |
| commit | df9685f3961022245b9ab73b62023aa573862001 (patch) | |
| tree | dc572840dcc97dd6abe4a9cfe7e279525211a124 /src/ChangeLog | |
| parent | 8e17c9ba1443c2f21c5801f0c4660ac08dccc837 (diff) | |
| download | emacs-df9685f3961022245b9ab73b62023aa573862001.tar.gz emacs-df9685f3961022245b9ab73b62023aa573862001.zip | |
Fix bugs #12447 and #12326 with infloop causes by idle timers, update docs.
src/keyboard.c (timer_check_2): Move calculation of 'timers' and
'idle_timers' from here ...
(timer_check): ... to here. Use Fcopy_sequence to copy the timer
lists, to avoid infloops when the timer does something stupid,
like reinvoke itself with the same or smaller time-out.
lisp/emacs-lisp/timer.el (run-with-idle-timer)
(timer-activate-when-idle): Warn against reinvoking an idle timer
from within its own timer action.
doc/lispref/os.texi (Idle Timers): Warn against reinvoking an idle timer
from within its own timer action.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6ea40b3f122..b69d4bb7113 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2012-09-22 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * keyboard.c (timer_check_2): Move calculation of 'timers' and | ||
| 4 | 'idle_timers' from here ... | ||
| 5 | (timer_check): ... to here. Use Fcopy_sequence to copy the timer | ||
| 6 | lists, to avoid infloops when the timer does something stupid, | ||
| 7 | like reinvoke itself with the same or smaller time-out. | ||
| 8 | (Bug#12447) | ||
| 9 | |||
| 1 | 2012-09-22 Martin Rudalics <rudalics@gmx.at> | 10 | 2012-09-22 Martin Rudalics <rudalics@gmx.at> |
| 2 | 11 | ||
| 3 | * window.c (Fsplit_window_internal): Handle only Qt value of | 12 | * window.c (Fsplit_window_internal): Handle only Qt value of |