summaryrefslogtreecommitdiff
path: root/src/pdumper.c
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2022-07-23 14:22:09 +0300
committerBasil L. Contovounesios <contovob@tcd.ie>2022-07-23 16:33:09 +0300
commit26f4bcc6d7cd541fab981836ee0b67259280ff4b (patch)
treed3274313a0f13eb0b0e6dc456278a8e3ab133aef /src/pdumper.c
parentaa28829eb7800f3e9df1ef1df36b07a4e9cb2cf2 (diff)
downloademacs-26f4bcc6d7cd541fab981836ee0b67259280ff4b.tar.gz
Update pdumper.c after recent long lines changes
For discussion, see: https://lists.gnu.org/r/emacs-devel/2022-07/msg00761.html * src/pdumper.c (dump_buffer): Dump new field long_line_optimizations_p introduced in commit e7b5912b23 of 2022-07-16 "Improvements to long lines handling." (dump_buffer) [CHECK_STRUCTS]: Update hash accordingly for --enable-checking=structs.
Diffstat (limited to 'src/pdumper.c')
-rw-r--r--src/pdumper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pdumper.c b/src/pdumper.c
index af451920eb6..33cb804dbae 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -2701,7 +2701,7 @@ dump_hash_table (struct dump_context *ctx,
static dump_off
dump_buffer (struct dump_context *ctx, const struct buffer *in_buffer)
{
-#if CHECK_STRUCTS && !defined HASH_buffer_F8FE65D42F
+#if CHECK_STRUCTS && !defined HASH_buffer_AA373AEE10
# error "buffer changed. See CHECK_STRUCTS comment in config.h."
#endif
struct buffer munged_buffer = *in_buffer;
@@ -2813,6 +2813,7 @@ dump_buffer (struct dump_context *ctx, const struct buffer *in_buffer)
DUMP_FIELD_COPY (out, buffer, prevent_redisplay_optimizations_p);
DUMP_FIELD_COPY (out, buffer, clip_changed);
DUMP_FIELD_COPY (out, buffer, inhibit_buffer_hooks);
+ DUMP_FIELD_COPY (out, buffer, long_line_optimizations_p);
dump_field_lv_rawptr (ctx, out, buffer, &buffer->overlays_before,
Lisp_Vectorlike, WEIGHT_NORMAL);