Fix bug with CHECK_STRUCTS introduced by last buffer.h change
* src/pdumper.c (dump_buffer): Fix HASH_buffer_. Assign last_name_ field.
This commit is contained in:
parent
5bba1b95b8
commit
3858e4f229
1 changed files with 2 additions and 1 deletions
|
@ -2796,7 +2796,7 @@ dump_obarray (struct dump_context *ctx, Lisp_Object object)
|
|||
static dump_off
|
||||
dump_buffer (struct dump_context *ctx, const struct buffer *in_buffer)
|
||||
{
|
||||
#if CHECK_STRUCTS && !defined HASH_buffer_EBBA38AEFA
|
||||
#if CHECK_STRUCTS && !defined HASH_buffer_B02F648B82
|
||||
# error "buffer changed. See CHECK_STRUCTS comment in config.h."
|
||||
#endif
|
||||
struct buffer munged_buffer = *in_buffer;
|
||||
|
@ -2808,6 +2808,7 @@ dump_buffer (struct dump_context *ctx, const struct buffer *in_buffer)
|
|||
else
|
||||
eassert (buffer->window_count == -1);
|
||||
buffer->local_minor_modes_ = Qnil;
|
||||
buffer->last_name_ = Qnil;
|
||||
buffer->last_selected_window_ = Qnil;
|
||||
buffer->display_count_ = make_fixnum (0);
|
||||
buffer->clip_changed = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue