diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 28091e763ea..e254db179c7 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1402,6 +1402,8 @@ init_buffer () | |||
| 1402 | /* initialize the buffer routines */ | 1402 | /* initialize the buffer routines */ |
| 1403 | syms_of_buffer () | 1403 | syms_of_buffer () |
| 1404 | { | 1404 | { |
| 1405 | extern Lisp_Object Qdisabled; | ||
| 1406 | |||
| 1405 | staticpro (&Vbuffer_defaults); | 1407 | staticpro (&Vbuffer_defaults); |
| 1406 | staticpro (&Vbuffer_local_symbols); | 1408 | staticpro (&Vbuffer_local_symbols); |
| 1407 | staticpro (&Qfundamental_mode); | 1409 | staticpro (&Qfundamental_mode); |
| @@ -1417,6 +1419,8 @@ syms_of_buffer () | |||
| 1417 | Fput (Qprotected_field, Qerror_message, | 1419 | Fput (Qprotected_field, Qerror_message, |
| 1418 | build_string ("Attempt to modify a protected field")); | 1420 | build_string ("Attempt to modify a protected field")); |
| 1419 | 1421 | ||
| 1422 | Fput (intern ("erase-buffer"), Qdisabled, Qt); | ||
| 1423 | |||
| 1420 | /* All these use DEFVAR_LISP_NOPRO because the slots in | 1424 | /* All these use DEFVAR_LISP_NOPRO because the slots in |
| 1421 | buffer_defaults will all be marked via Vbuffer_defaults. */ | 1425 | buffer_defaults will all be marked via Vbuffer_defaults. */ |
| 1422 | 1426 | ||