diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index bdb13adcba8..3677ec671f2 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -429,6 +429,7 @@ The value is never nil. */) | |||
| 429 | b->name = name; | 429 | b->name = name; |
| 430 | 430 | ||
| 431 | /* Put this in the alist of all live buffers. */ | 431 | /* Put this in the alist of all live buffers. */ |
| 432 | XSETPVECTYPE (b, PVEC_BUFFER); | ||
| 432 | XSETBUFFER (buf, b); | 433 | XSETBUFFER (buf, b); |
| 433 | Vbuffer_alist = nconc2 (Vbuffer_alist, Fcons (Fcons (name, buf), Qnil)); | 434 | Vbuffer_alist = nconc2 (Vbuffer_alist, Fcons (Fcons (name, buf), Qnil)); |
| 434 | 435 | ||
| @@ -5036,7 +5037,9 @@ init_buffer_once () | |||
| 5036 | buffer_local_symbols.text = &buffer_local_symbols.own_text; | 5037 | buffer_local_symbols.text = &buffer_local_symbols.own_text; |
| 5037 | BUF_INTERVALS (&buffer_defaults) = 0; | 5038 | BUF_INTERVALS (&buffer_defaults) = 0; |
| 5038 | BUF_INTERVALS (&buffer_local_symbols) = 0; | 5039 | BUF_INTERVALS (&buffer_local_symbols) = 0; |
| 5040 | XSETPVECTYPE (&buffer_defaults, PVEC_BUFFER); | ||
| 5039 | XSETBUFFER (Vbuffer_defaults, &buffer_defaults); | 5041 | XSETBUFFER (Vbuffer_defaults, &buffer_defaults); |
| 5042 | XSETPVECTYPE (&buffer_local_symbols, PVEC_BUFFER); | ||
| 5040 | XSETBUFFER (Vbuffer_local_symbols, &buffer_local_symbols); | 5043 | XSETBUFFER (Vbuffer_local_symbols, &buffer_local_symbols); |
| 5041 | 5044 | ||
| 5042 | /* Set up the default values of various buffer slots. */ | 5045 | /* Set up the default values of various buffer slots. */ |