aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorGregory Heytings2022-07-18 15:50:57 +0000
committerGregory Heytings2022-07-18 17:54:55 +0200
commit1ff69cc744eaa704afc1ff81242d41a6c09439fe (patch)
tree3355dbbb1715b0661b1b0e7beaf5b0ef20f41eef /src/bytecode.c
parent6a097a86210cf1226d432b255cc41aa74fe93507 (diff)
downloademacs-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