From: Stefan Kangas Date: Mon, 17 Jan 2022 22:32:50 +0000 (+0100) Subject: ; fix thinko in last commit X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~80 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=27ba1994fe50ebdcd927bb46fccc9db0d67e9408;p=emacs.git ; fix thinko in last commit --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index fb2f1ba100d..219bcc85bd9 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -142,7 +142,7 @@ chosen (interactively or automatically)." when probe return (cons probe args) finally (funcall err))))))) -(defvar eglot-server-programs `((rust-mode . ("rust-analyzer" "rls")) +(defvar eglot-server-programs `((rust-mode . ,(eglot-alternatives '("rust-analyzer" "rls"))) (cmake-mode . ("cmake-language-server")) (vimrc-mode . ("vim-language-server" "--stdio")) (python-mode