]> git.eshelyaron.com Git - emacs.git/commit
Further tweaks to long lines handling.
authorGregory Heytings <gregory@heytings.org>
Wed, 20 Jul 2022 17:12:23 +0000 (17:12 +0000)
committerGregory Heytings <gregory@heytings.org>
Wed, 20 Jul 2022 17:14:41 +0000 (19:14 +0200)
commitc7eef61eee179d127d4edeb828c723f4dee530b4
tree71e1f6978c0f0828f03aa781e9244e39f8c6618b
parent7c0fc853649c7e203814295de32357cfd6a336a9
Further tweaks to long lines handling.

* src/xdisp.c (redisplay_window): Increase the threshold above which
long lines detection is performed in the buffer.  This should avoid
triggering that detection for most simple editing operations.

* src/lisp.h (modiff_incr): Explain why the counter is incremented
logarithmically.

* src/buffer.h (struct buffer_text): Adapt the comment about the
'modiff' field accordingly.

* src/buffer.c (modify_overlay): Increase the counter by 1 instead of
the size of the buffer section on which the overlay is placed.

* etc/NEWS: Small improvement.
etc/NEWS
src/buffer.c
src/buffer.h
src/lisp.h
src/xdisp.c