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 18:10:49 +0000

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

> Philip Kaludercic [2022-11-10 17:47:36] wrote:
>> Honestly, I think that there should be a command like `add-to-option'
>> that can handle these things automatically and defer loading if
>> possible.
>
> Might be a good choice.  We could even change `add-to-list` to do that.
>
> 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, especially when they use `add-to-list'
in place of `push'.



reply via email to

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