]> git.eshelyaron.com Git - emacs.git/commit
Eglot: simplify eglot--lookup-mode
authorJoão Távora <joaotavora@gmail.com>
Wed, 7 Aug 2024 11:51:16 +0000 (12:51 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 11 Aug 2024 07:29:04 +0000 (09:29 +0200)
commitd02932d8ffe48fd9e7d6ce25df07836ab2e1c323
tree72869978130b17d092919b1065027c89c115d207
parent366272c6afa37d01adb762caa0861fb2cb718652
Eglot: simplify eglot--lookup-mode

No longer reorder the LANGUAGES return value to have the
originating mode upfront, since it doesn't seem to serve any
practical purpose anymore.

bug#72343

* lisp/progmodes/eglot.el (eglot--lookup-mode): Simplify.

* test/lisp/progmodes/eglot-tests.el
  (eglot-test-server-programs-guess-lang): Adjust.

(cherry picked from commit 628f2bf579d958bcaddb66c0a58c1a21650d76af)
lisp/progmodes/eglot.el
test/lisp/progmodes/eglot-tests.el