help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Is there a way of setting a variable only when it exists?


From: Michael Heerdegen
Subject: Re: Is there a way of setting a variable only when it exists?
Date: Wed, 16 Mar 2022 01:25:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Marcin Borkowski <mbork@mbork.pl> writes:

> Not necessarily.  My use-case is an internal Emacs variable I'm setting
> in my `init.el'; at the same time I submitted a bug report/feature
> request to make it a user option, so I assume that it might change its
> name in a future Emacs version.

If that happens, compiling your init.el will then normally give you an
"assignment to free variable" warning, no?

Michael.



reply via email to

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