emacs-devel
[Top][All Lists]
Advanced

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

defconst risky-local (WAS: Question about defcustom and load-history)


From: Noam Postavsky
Subject: defconst risky-local (WAS: Question about defcustom and load-history)
Date: Mon, 6 May 2019 18:57:17 -0400

On Mon, 6 May 2019 at 12:38, Stefan Monnier <address@hidden> wrote:

> @@ -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).



reply via email to

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