aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index e25d3cef36a..93c707ba8d1 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1,5 +1,5 @@
1/* Buffer manipulation primitives for GNU Emacs. 1/* Buffer manipulation primitives for GNU Emacs.
2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -2204,8 +2204,6 @@ syms_of_buffer ()
2204 Fput (Qprotected_field, Qerror_message, 2204 Fput (Qprotected_field, Qerror_message,
2205 build_string ("Attempt to modify a protected field")); 2205 build_string ("Attempt to modify a protected field"));
2206 2206
2207 Fput (intern ("erase-buffer"), Qdisabled, Qt);
2208
2209 /* All these use DEFVAR_LISP_NOPRO because the slots in 2207 /* All these use DEFVAR_LISP_NOPRO because the slots in
2210 buffer_defaults will all be marked via Vbuffer_defaults. */ 2208 buffer_defaults will all be marked via Vbuffer_defaults. */
2211 2209
@@ -2575,4 +2573,8 @@ keys_of_buffer ()
2575 initial_define_key (control_x_map, 'b', "switch-to-buffer"); 2573 initial_define_key (control_x_map, 'b', "switch-to-buffer");
2576 initial_define_key (control_x_map, 'k', "kill-buffer"); 2574 initial_define_key (control_x_map, 'k', "kill-buffer");
2577 initial_define_key (control_x_map, Ctl ('B'), "list-buffers"); 2575 initial_define_key (control_x_map, Ctl ('B'), "list-buffers");
2576
2577 /* This must not be in syms_of_buffer, because Qdisabled is not
2578 initialized when that function gets called. */
2579 Fput (intern ("erase-buffer"), Qdisabled, Qt);
2578} 2580}