Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
188d4d11
Commit
188d4d11
authored
Mar 07, 1993
by
Roland McGrath
Browse files
(syms_of_buffer): Make erase-buffer a disabled command.
parent
6ba6e250
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/buffer.c
src/buffer.c
+4
-0
No files found.
src/buffer.c
View file @
188d4d11
...
...
@@ -1402,6 +1402,8 @@ init_buffer ()
/* initialize the buffer routines */
syms_of_buffer
()
{
extern
Lisp_Object
Qdisabled
;
staticpro
(
&
Vbuffer_defaults
);
staticpro
(
&
Vbuffer_local_symbols
);
staticpro
(
&
Qfundamental_mode
);
...
...
@@ -1417,6 +1419,8 @@ syms_of_buffer ()
Fput
(
Qprotected_field
,
Qerror_message
,
build_string
(
"Attempt to modify a protected field"
));
Fput
(
intern
(
"erase-buffer"
),
Qdisabled
,
Qt
);
/* All these use DEFVAR_LISP_NOPRO because the slots in
buffer_defaults will all be marked via Vbuffer_defaults. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment