summaryrefslogtreecommitdiff
path: root/cider-repl.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2014-08-02 16:43:36 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2014-08-02 16:43:36 +0300
commitd765ccfe68ba9084ffb95d959c6b7d17ca441e77 (patch)
tree7136e0d1add76c7a0b8941321a526ab2c99c389f /cider-repl.el
parent6851394d59a7c6a98ed4968396616c809da6afa1 (diff)
Add the ability to display Grimoire documentation within Emacs
This uses the new Grimoire 0.3 API. The implementation is extremely basic at this point (and pretty crude), but the results are useful never-the-less.
Diffstat (limited to 'cider-repl.el')
-rw-r--r--cider-repl.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/cider-repl.el b/cider-repl.el
index 91ca0aeb..abbe9796 100644
--- a/cider-repl.el
+++ b/cider-repl.el
@@ -991,6 +991,7 @@ ENDP) DELIM."
(define-key map (kbd "C-c C-d a") 'cider-apropos)
(define-key map (kbd "C-c C-d A") 'cider-apropos-documentation)
(define-key map (kbd "C-c C-d g") 'cider-grimoire)
+ (define-key map (kbd "C-c C-d h") 'cider-grimoire-web)
(define-key map (kbd "C-c C-d d") 'cider-doc)
(define-key map (kbd "C-c C-d j") 'cider-javadoc)
(define-key map (kbd "C-c C-o") 'cider-repl-clear-output)
@@ -1038,6 +1039,7 @@ ENDP) DELIM."
["Display documentation" cider-doc]
["Display JavaDoc" cider-javadoc]
["Display Grimoire documentation" cider-grimoire]
+ ["Display Grimoire documentation in browser" cider-grimoire-web]
["Inspect" cider-inspect]
"--"
["Set REPL ns" cider-repl-set-ns]