]> git.eshelyaron.com Git - emacs.git/commitdiff
* eglot.el (eglot-mode-map): move up before minor mode.
authorJoão Távora <joaotavora@gmail.com>
Tue, 1 May 2018 09:14:53 +0000 (10:14 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 1 May 2018 09:14:53 +0000 (10:14 +0100)
lisp/progmodes/eglot.el

index 8da6267123a634c7537ad7d23d13f5009b0c1383..8356f8ef3f9ecccf29e15e528c52d0e242b1ef5e 100644 (file)
@@ -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