summaryrefslogtreecommitdiff
path: root/cider-doc.el
diff options
context:
space:
mode:
authorArtur Malabarba <Malabarba@users.noreply.github.com>2016-04-11 13:10:52 -0300
committerArtur Malabarba <Malabarba@users.noreply.github.com>2016-04-11 13:10:52 -0300
commit57e058da687c54f0514b09eaf256dcdb5ed12af8 (patch)
tree94582804c8d0476fb91caedd6604a26ebf1c22e2 /cider-doc.el
parenta662870a4e739db68dbc67d5b4cf315121652231 (diff)
Improve CIDER's menu-bar menu (#1661)
* Improve CIDER's menu-bar menu - Thoroughly reorganize it and split it into 3 separate menus; - Add a 4th menu, that only appears if `cider-mode` isn't active; - Add custom-written `:help` strings to some items, and automatically add help strings to the rest; - Add a few commands; - Grey-out commands that rely on connections while there is no connection. * Add a screenshot to the Readme
Diffstat (limited to 'cider-doc.el')
-rw-r--r--cider-doc.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/cider-doc.el b/cider-doc.el
index a5b21ef8..cab3f7f6 100644
--- a/cider-doc.el
+++ b/cider-doc.el
@@ -67,8 +67,8 @@
cider-doc-map)
"CIDER documentation keymap.")
-(defvar cider-doc-menu
- '("Documentation ..."
+(defconst cider-doc-menu
+ '("Documentation"
["CiderDoc" cider-doc]
["JavaDoc in browser" cider-javadoc]
["Grimoire" cider-grimoire]
@@ -76,10 +76,11 @@
["Search symbols" cider-apropos]
["Search symbols & select" cider-apropos-select]
["Search documentation" cider-apropos-documentation]
- ["Search documentation & select" cider-apropos-documentation-select])
+ ["Search documentation & select" cider-apropos-documentation-select]
+ "--"
+ ["Configure Doc buffer" (customize-group 'cider-docview-mode)])
"CIDER documentation submenu.")
-
;;; cider-docview-mode