diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-06-12 17:25:26 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-06-12 17:25:26 +0300 |
commit | e1e0315252d9f09ed061950630fe36b96349124e (patch) | |
tree | 4160d412dfd68e1c33bcd47333dacc8d2180bb47 /src/dispextern.h | |
parent | 5bf409329b1b678c633c79456288a1c4d6f0e804 (diff) | |
download | emacs-e1e0315252d9f09ed061950630fe36b96349124e.tar.gz |
Initial implementation of "abort-redisplay" feature
* src/xdisp.c (update_redisplay_ticks): New function.
(init_iterator, set_iterator_to_next): Call
'update_redisplay_ticks'.
(syms_of_xdisp) <max_redisplay_ticks>: New variable.
<list_of_error>: Remove 'void-variable': it is no longer needed,
since 'calc_pixel_width_or_height' can no longer signal a
void-variable error, and it gets in the way of aborting
redisplay via 'redisplay_window_error'.
Diffstat (limited to 'src/dispextern.h')
-rw-r--r-- | src/dispextern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index c7399ca2998..a919f364c1c 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -3505,6 +3505,8 @@ extern unsigned row_hash (struct glyph_row *); extern bool buffer_flipping_blocked_p (void); +extern void update_redisplay_ticks (int, struct it *); + /* Defined in image.c */ #ifdef HAVE_WINDOW_SYSTEM |