branch: externals/elpa commit 4f246b5965c45830690dcb8e42bf639b8dfad0b1 Author: João Távora <joaotav...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
* eglot.el (eglot-mode-map): Move up before minor mode. --- eglot.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eglot.el b/eglot.el index 8da6267..8356f8e 100644 --- a/eglot.el +++ b/eglot.el @@ -550,6 +550,8 @@ running. INTERACTIVE is t if called interactively." "Face for package-name in EGLOT's mode line." :group 'eglot) +(defvar eglot-mode-map (make-sparse-keymap)) + (define-minor-mode eglot-mode "Minor mode for buffers where EGLOT is possible" nil @@ -567,9 +569,7 @@ running. INTERACTIVE is t if called interactively." (defvar eglot-menu) -(defvar eglot-mode-map (make-sparse-keymap)) - -(easy-menu-define eglot-menu eglot-mode-map "SLY" +(easy-menu-define eglot-menu eglot-mode-map "EGLOT" `("EGLOT" )) (defvar eglot--mode-line-format