[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making `eglot-server-programs' a custom variable?
From: |
Stefan Monnier |
Subject: |
Re: Making `eglot-server-programs' a custom variable? |
Date: |
Thu, 10 Nov 2022 13:29:06 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>> 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.
> especially when they use `add-to-list' in place of `push'.
It should be safe enough even for such bad-style cases.
Stefan
- Making `eglot-server-programs' a custom variable?, Arash Esbati, 2022/11/09
- Re: Making `eglot-server-programs' a custom variable?, Jim Porter, 2022/11/11
- Re: Making `eglot-server-programs' a custom variable?, chad, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Philip Kaludercic, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/12