(Fdefconst): Mark variable as risky.
This commit is contained in:
parent
a4feb1448a
commit
873759d5d8
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue