diff options
| author | Gregory Heytings | 2022-07-18 15:50:57 +0000 |
|---|---|---|
| committer | Gregory Heytings | 2022-07-18 17:54:55 +0200 |
| commit | 1ff69cc744eaa704afc1ff81242d41a6c09439fe (patch) | |
| tree | 3355dbbb1715b0661b1b0e7beaf5b0ef20f41eef /src/bytecode.c | |
| parent | 6a097a86210cf1226d432b255cc41aa74fe93507 (diff) | |
| download | emacs-1ff69cc744eaa704afc1ff81242d41a6c09439fe.tar.gz emacs-1ff69cc744eaa704afc1ff81242d41a6c09439fe.zip | |
Improve the heuristic for long lines detection.
* src/buffer.h (struct buffer_text): New 'unchanged_size' field.
(BUF_UNCHANGED_SIZE): New macro to access the field.
* src/buffer.c (Fget_buffer_create): Initialize the field.
(Fbuffer_swap_text): Handle it.
* src/xdisp.c (mark_window_display_accurate_1): Set the field.
(redisplay_window): Use the field for long lines detection.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions