diff options
author | Gregory Heytings <gregory@heytings.org> | 2022-07-19 21:21:40 +0000 |
---|---|---|
committer | Gregory Heytings <gregory@heytings.org> | 2022-07-19 23:34:09 +0200 |
commit | 7c0fc853649c7e203814295de32357cfd6a336a9 (patch) | |
tree | 9234ae81bb18ce6403c4859b37b8e39583ccc3bf /test/lisp/emacs-lisp/cl-seq-tests.el | |
parent | c6bee1707523549ce02eadb506f54e9089ea1a3f (diff) | |
download | emacs-7c0fc853649c7e203814295de32357cfd6a336a9.tar.gz emacs-7c0fc853649c7e203814295de32357cfd6a336a9.tar.bz2 emacs-7c0fc853649c7e203814295de32357cfd6a336a9.zip |
Simplified and improved heuristic for long lines detection.
* src/lisp.h (modiff_incr): Add a parameter to 'modiff_incr' to record
the extent of the modification.
* src/insdel.c (insert_1_both, insert_from_string_1, insert_from_gap,
insert_from_buffer_1, adjust_after_replace, replace_range,
replace_range_2, del_range_2, modify_text): Add an argument to each
call to 'modiff_incr'.
* src/textprop.c (modify_text_properties): Add an argument to the call
to 'modiff_incr'.
* src/buffer.c (Frestore_buffer_modified_p, Fbuffer_swap_text,
modify_overlay): Add an argument to each call to 'modiff_incr'.
* src/xdisp.c (redisplay_window): Use the improved version of 'MODIFF'
for the heuristic.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-seq-tests.el')
0 files changed, 0 insertions, 0 deletions