[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/elpa 9bf3166 136/139: Don't define a menu if nothing to
From: |
Jo�o T�vora |
Subject: |
[elpa] externals/elpa 9bf3166 136/139: Don't define a menu if nothing to show there for now |
Date: |
Mon, 14 May 2018 09:53:51 -0400 (EDT) |
branch: externals/elpa
commit 9bf31667f1d1a4dfea61a96e44f658e70d9ebd85
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Don't define a menu if nothing to show there for now
* eglot.el (eglot-menu): Remove it.
(eglot--mode-line-format): Don't define a menu.
---
eglot.el | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/eglot.el b/eglot.el
index 4477242..6dc2213 100644
--- a/eglot.el
+++ b/eglot.el
@@ -843,10 +843,6 @@ that case, also signal textDocument/didOpen."
;;; Mode-line, menu and other sugar
;;;
-(defvar eglot-menu)
-
-(easy-menu-define eglot-menu eglot-mode-map "EGLOT" `("EGLOT" ))
-
(defvar eglot--mode-line-format `(:eval (eglot--mode-line-format)))
(put 'eglot--mode-line-format 'risky-local-variable t)
@@ -881,8 +877,7 @@ Uses THING, FACE, DEFS and PREPEND."
(`(,_id ,doing ,done-p ,detail) (and proc (eglot--spinner
proc)))
(`(,status ,serious-p) (and proc (eglot--status proc))))
(append
- `(,(eglot--mode-line-props "eglot" 'eglot-mode-line
- '((down-mouse-1 eglot-menu "pop up EGLOT
menu"))))
+ `(,(eglot--mode-line-props "eglot" 'eglot-mode-line nil))
(when name
`(":" ,(eglot--mode-line-props
name 'eglot-mode-line
- [elpa] externals/elpa 714e5be 086/139: Half-baked textDocument/hover support, (continued)
- [elpa] externals/elpa 714e5be 086/139: Half-baked textDocument/hover support, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa e9b5e54 077/139: ETOOMANYLAMBDAS, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa f257d63 089/139: * eglot.el: Reformat to shave off some lines., Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa 5ce9ab0 106/139: Call eglot-eldoc-function after completion finishes, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa d431d41 088/139: Fix bug in hover support, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa d0b7773 117/139: Reduce log chatter, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa 9af84a2 124/139: Prepare to sumbit to GNU ELPA, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa 9577dfc 125/139: Duh, json.el is in Emacs, and json-mode.el is useless here, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa 6e76b08 100/139: Support workspace/applyEdit, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa 3e0f1c3 122/139: Misc little adjustments for readability, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa 9bf3166 136/139: Don't define a menu if nothing to show there for now,
Jo�o T�vora <=
- [elpa] externals/elpa 1fb2bcb 132/139: Ask server for textDocument/signatureHelp if it supports it, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa c7bd095 118/139: Improve eglot-eldoc-function, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa ab575d2 120/139: Rename functions. eglot--request is now the synchronous one, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa 8448d9b 133/139: Work with any old directory, no formal project needed, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa 589e1ea 138/139: Remove an unused variable, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa 571b08f 076/139: Fix the odd bug here and there, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa c4ffabc 083/139: Half-decent completion support, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa 71e47d2 102/139: Fix odd bugs and tweak stuff, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa ecd334f 101/139: Update README, Jo�o T�vora, 2018/05/14
- [elpa] externals/elpa dda11dd 095/139: Try to fix some textDocument/completion bugs, Jo�o T�vora, 2018/05/14