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
873759d5
Commit
873759d5
authored
Jun 13, 2006
by
Richard M. Stallman
Browse files
(Fdefconst): Mark variable as risky.
parent
a4feb144
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/eval.c
src/eval.c
+3
-1
No files found.
src/eval.c
View file @
873759d5
...
...
@@ -195,9 +195,10 @@ int handling_signal;
Lisp_Object
Vmacro_declaration_function
;
extern
Lisp_Object
Qrisky_local_variable
;
static
Lisp_Object
funcall_lambda
P_
((
Lisp_Object
,
int
,
Lisp_Object
*
));
void
init_eval_once
()
{
...
...
@@ -895,6 +896,7 @@ usage: (defconst SYMBOL INITVALUE [DOCSTRING]) */)
tem
=
Fpurecopy
(
tem
);
Fput
(
sym
,
Qvariable_documentation
,
tem
);
}
Fput
(
sym
,
Qrisky_local_variable
,
Qt
);
LOADHIST_ATTACH
(
sym
);
return
sym
;
}
...
...
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