diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-06-18 13:07:20 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-06-18 13:07:20 +0300 |
commit | 82626e62ab27b498848e4c1822f6c4c06ad53947 (patch) | |
tree | b1409b330af064689e3b2751db92388583e35c90 /test/lisp/emacs-lisp/rmc-tests.el | |
parent | 94672c2936dd58a1837fd208f8678074ca8193c3 (diff) | |
download | emacs-82626e62ab27b498848e4c1822f6c4c06ad53947.tar.gz emacs-82626e62ab27b498848e4c1822f6c4c06ad53947.tar.bz2 emacs-82626e62ab27b498848e4c1822f6c4c06ad53947.zip |
Allow aborting redisplay stuck in 'parse-partial-sexp'
* src/xdisp.c (display_working_on_window_p): New global variable.
(unwind_display_working_on_window): New function.
* src/keyboard.c (command_loop_1): Reset
'display_working_on_window_p' before and after executing commands.
* src/window.c (Frecenter, window_scroll, displayed_window_lines):
* src/indent.c (Fvertical_motion): Set
'display_working_on_window_p' before calling 'start_display'.
* src/syntax.c (scan_sexps_forward): Call 'update_redisplay_ticks'
after finishing the loop.
Diffstat (limited to 'test/lisp/emacs-lisp/rmc-tests.el')
0 files changed, 0 insertions, 0 deletions