diff options
| author | João Távora | 2024-06-06 17:08:28 -0500 |
|---|---|---|
| committer | João Távora | 2024-06-06 17:13:57 -0500 |
| commit | 6906ed28f1b4ac0cf0a2a725e7402290f33c26e2 (patch) | |
| tree | 942f0d5c8359424517e737c08579dea38af0f0d5 /exec | |
| parent | b571c6571c8bc4c34569650104aee273c19cbfd4 (diff) | |
| download | emacs-6906ed28f1b4ac0cf0a2a725e7402290f33c26e2.tar.gz emacs-6906ed28f1b4ac0cf0a2a725e7402290f33c26e2.zip | |
Eglot: better fix for bug#70724
If the project's root is or destroyed , this may happen for a
variety of reasons, including reasons affecting non-reconnection
scenarios, so better to check in eglot--connect.
An Eglot "reconnection" has always created as accurate a copy of
the previous server object as possible, down to the 'eq'ness or
the saved initargs, language ids, etc. So re-querying for
projects is not the thing to do here.
A new different server can be created with `M-x eglot` which will
ask about shutting down the existing one.
* lisp/progmodes/eglot.el (eglot-reconnect): Revert previous change.
(eglot--connect): Do sanity check here
Diffstat (limited to 'exec')
0 files changed, 0 insertions, 0 deletions