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: Marcin Borkowski
Subject: Re: Is there a way of setting a variable only when it exists?
Date: Wed, 16 Mar 2022 19:33:22 +0100
User-agent: mu4e 1.1.0; emacs 29.0.50

On 2022-03-16, at 01:25, Michael Heerdegen <michael_heerdegen@web.de> wrote:

> 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?

I didn't think about it.  OTOH, why would I compile my init.el?

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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