]> git.eshelyaron.com Git - emacs.git/commit
C-u m-x eglot discards class guessed by eglot--guess-contact
authorJoão Távora <joaotavora@gmail.com>
Sun, 10 Jan 2021 16:42:59 +0000 (16:42 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sun, 10 Jan 2021 16:46:59 +0000 (16:46 +0000)
commit30139cc1f482c925861c54e9a6ea06effab02ff1
tree364c4545b9d14f4bb1e2049be3a581162880139f
parent40453c991e12d966a950dc6ec2fe522e57c5a5f2
C-u m-x eglot discards class guessed by eglot--guess-contact

This will prevent C-u M-x eglot RET rust-analyzer from bringing into
play the eglot-rls server class, which is only valid for the default
RLS server.

Found when testing for https://github.com/joaotavora/eglot/issues/526, though this bug might not necessarily be
the problem being reported there.

* eglot.el (eglot--guess-contact): Don't assume guessed class if
INTERACTIVE.
lisp/progmodes/eglot.el