emacs-devel
[Top][All Lists]
Advanced

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

Re: Making `eglot-server-programs' a custom variable?


From: Philip Kaludercic
Subject: Re: Making `eglot-server-programs' a custom variable?
Date: Thu, 10 Nov 2022 19:36:54 +0000

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>> I suspect it would not be able to use `with-eval-after-load` because it
>>> wouldn't know which file holds/defines that var.  But we could make it
>>> work for Custom vars, OTOH.
>>
>> I have the hunch that modifying `add-to-list' along these lines could
>> break a lot of subtle programs,
>
> I'd imagine the change would only affect the case where the var is
> unbound, i.e. where we currently signal an error.  For that reason, it
> seems safe enough.

If that is all the function does, I think it should be safe.  Other
questions are if an error should be raised when there is a type-mismatch
or if the custom setter/getter ought to be used.



reply via email to

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