[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defconst risky-local

From: Stefan Monnier
Subject: Re: defconst risky-local
Date: Mon, 06 May 2019 20:51:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> @@ -827,19 +839,12 @@ usage: (defconst SYMBOL INITVALUE [DOCSTRING])  */)
>> -  Fset_default (sym, tem);
>> -  Fput (sym, Qrisky_local_variable, Qt);
>> +  Fset_default (sym, tem);      /* FIXME: set-default-toplevel-value? */
>> +  Fput (sym, Qrisky_local_variable, Qt); /* FIXME: Why?  */
> I would guess the risky-local-variable thing is because defconst
> variables would generally not be expected to be changed, file-locally
> or otherwise (though nothing stops it from happening).

Sounds like a good guess, but I wonder if someone can confirm that this
was indeed the reason.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]