A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg00615.html below:

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] 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.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4