diff options
| author | Gregory Heytings | 2022-08-23 15:41:05 +0000 |
|---|---|---|
| committer | Gregory Heytings | 2022-08-23 17:48:51 +0200 |
| commit | 1c837c42c22181e5fe998c7ea1c6e12c4e711872 (patch) | |
| tree | 92a5356d1db303524b7ea83efcc34bd6e8bf2617 /lisp/progmodes/python.el | |
| parent | 5d3a99602f15372b305d04c6a732e5c69bbe0c5d (diff) | |
| download | emacs-1c837c42c22181e5fe998c7ea1c6e12c4e711872.tar.gz 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 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions