diff options
author | Gregory Heytings <gregory@heytings.org> | 2022-08-23 15:41:05 +0000 |
---|---|---|
committer | Gregory Heytings <gregory@heytings.org> | 2022-08-23 17:48:51 +0200 |
commit | 1c837c42c22181e5fe998c7ea1c6e12c4e711872 (patch) | |
tree | 92a5356d1db303524b7ea83efcc34bd6e8bf2617 /doc/misc/cl.texi | |
parent | 5d3a99602f15372b305d04c6a732e5c69bbe0c5d (diff) | |
download | emacs-1c837c42c22181e5fe998c7ea1c6e12c4e711872.tar.gz emacs-1c837c42c22181e5fe998c7ea1c6e12c4e711872.tar.bz2 emacs-1c837c42c22181e5fe998c7ea1c6e12c4e711872.zip |
Improve detection of long lines.
* src/buffer.h (struct buffer_text): New field.
(BUF_CHARS_UNCHANGED_MODIFIED, CHARS_UNCHANGED_MODIFIED): New macros.
* src/buffer.c (Fget_buffer_create): Initialize the new field.
* src/xdisp.c (mark_window_display_accurate_1): Set the new field.
(redisplay_window): Use it, together with CHARS_MODIFF, instead of
MODIFF and UNCHANGED_MODIFIED to decide whether to check for long
lines.
* src/pdumper.c (dump_buffer): Dump the new field.
Diffstat (limited to 'doc/misc/cl.texi')
0 files changed, 0 insertions, 0 deletions