aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorGregory Heytings2022-07-21 12:37:45 +0200
committerGregory Heytings2022-07-21 12:37:45 +0200
commit616da8fa8efa9023f56fa731072d877e2150afbc (patch)
treecabef8906fe8186c67899936e8b28640daeadb06 /src/buffer.h
parent51f8e86374a57efe5b8e5c31d96078e63c023da4 (diff)
parente09c056a440e78afd0e1920250714bc6de6ccf4f (diff)
downloademacs-616da8fa8efa9023f56fa731072d877e2150afbc.tar.gz
emacs-616da8fa8efa9023f56fa731072d877e2150afbc.zip
Merge branch 'feature/fix-the-long-lines-display-bug'
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 135eaf72d30..47b4bdf749b 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -237,9 +237,10 @@ struct buffer_text
237 ptrdiff_t z_byte; /* Byte pos of end of buffer. */ 237 ptrdiff_t z_byte; /* Byte pos of end of buffer. */
238 ptrdiff_t gap_size; /* Size of buffer's gap. */ 238 ptrdiff_t gap_size; /* Size of buffer's gap. */
239 modiff_count modiff; /* This counts buffer-modification events 239 modiff_count modiff; /* This counts buffer-modification events
240 for this buffer. It is incremented for 240 for this buffer. It is increased
241 each such event, and never otherwise 241 logarithmically to the extent of the
242 changed. */ 242 modification for each such event,
243 and never otherwise changed. */
243 modiff_count chars_modiff; /* This is modified with character change 244 modiff_count chars_modiff; /* This is modified with character change
244 events for this buffer. It is set to 245 events for this buffer. It is set to
245 modiff for each such event, and never 246 modiff for each such event, and never
@@ -681,6 +682,10 @@ struct buffer
681 defined, as well as by with-temp-buffer, for example. */ 682 defined, as well as by with-temp-buffer, for example. */
682 bool_bf inhibit_buffer_hooks : 1; 683 bool_bf inhibit_buffer_hooks : 1;
683 684
685 /* Non-zero when the buffer contains long lines and specific
686 display optimizations must be used. */
687 bool_bf long_line_optimizations_p : 1;
688
684 /* List of overlays that end at or before the current center, 689 /* List of overlays that end at or before the current center,
685 in order of end-position. */ 690 in order of end-position. */
686 struct Lisp_Overlay *overlays_before; 691 struct Lisp_Overlay *overlays_before;