From aa0e2ddbaa5703d85a8ffea85979aa9a2db9eeb5 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Tue, 27 Sep 2022 01:16:49 +0800 Subject: [PATCH] Change eglot--major-mode to eglot-major-modes. Close #575. --- doom-modeline-segments.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 272d4b5d..8d95a589 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -136,7 +136,7 @@ (declare-function edebug-next-mode "edebug") (declare-function edebug-stop "edebug") (declare-function eglot "ext:eglot") -(declare-function eglot--major-mode "ext:eglot" t t) +(declare-function eglot--major-modes "ext:eglot" t t) (declare-function eglot--project-nickname "ext:eglot" t t) (declare-function eglot--spinner "ext:eglot" t t) (declare-function eglot-clear-status "ext:eglot") @@ -2052,7 +2052,7 @@ mouse-3: Clear this status" (plist-get last-error :message))) C-mouse-1: Go to server errors mouse-1: Go to server events mouse-2: Quit server -mouse-3: Reconnect to server" nick (eglot--major-mode server))) +mouse-3: Reconnect to server" nick (eglot--major-modes server))) (t "EGLOT Disconnected mouse-1: Start server")) 'mouse-face 'doom-modeline-highlight