From 2ff4dff73de109615eb5697ac6effae53483e276 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Tue, 1 May 2018 10:14:53 +0100 Subject: [PATCH] * eglot.el (eglot-mode-map): move up before minor mode. --- lisp/progmodes/eglot.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 8da6267123a..8356f8ef3f9 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/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 -- 2.39.2