]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix M-x eglot breakage due to typo
authorJoão Távora <joaotavora@gmail.com>
Tue, 25 Oct 2022 09:34:08 +0000 (10:34 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 25 Oct 2022 09:34:08 +0000 (10:34 +0100)
* lisp/progmodes/eglot.el (eglot): Fix bug.

lisp/progmodes/eglot.el

index 432631691c33e06327e64ee26eebb9fbd763bcc8..827a5e984831a6051f8d2838ae337977f1e98a91 100644 (file)
@@ -1078,7 +1078,7 @@ MANAGED-MAJOR-MODE, which matters to a minority of servers.
 
 INTERACTIVE is t if called interactively."
   (interactive (append (eglot--guess-contact t) '(t)))
-  (setq managed-major-mode (eglot--ensure-list managed-mode))
+  (setq managed-major-mode (eglot--ensure-list managed-major-mode))
   (let* ((current-server (eglot-current-server))
          (live-p (and current-server (jsonrpc-running-p current-server))))
     (if (and live-p