From: João Távora Date: Tue, 1 May 2018 09:14:53 +0000 (+0100) Subject: * eglot.el (eglot-mode-map): move up before minor mode. X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~690 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2ff4dff73de109615eb5697ac6effae53483e276;p=emacs.git * eglot.el (eglot-mode-map): move up before minor mode. --- 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