summaryrefslogtreecommitdiff
path: root/cider-apropos.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2016-04-30 17:09:37 -0300
committerArtur Malabarba <bruce.connor.am@gmail.com>2016-04-30 17:12:18 -0300
commit54933ddd2bd1ca92fb10c3ac49e0b284278df0e3 (patch)
treee1707abbc320b100b6de0f905dd4beb0190b9ba1 /cider-apropos.el
parent1e95f720c31520d36d01afb291af6bd074038891 (diff)
Move dictionary manipulation to its own file, nrepl-dict.el
A lot of .el files have to manipulate dictionaries, so this forced a lot of files to depend on nrepl-client.el. These were muddy waters if we plan on supporting SocketREPL.
Diffstat (limited to 'cider-apropos.el')
-rw-r--r--cider-apropos.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/cider-apropos.el b/cider-apropos.el
index 9a87f452..01a6abc6 100644
--- a/cider-apropos.el
+++ b/cider-apropos.el
@@ -31,7 +31,7 @@
(require 'cider-client)
(require 'cider-popup)
-(require 'nrepl-client)
+(require 'nrepl-dict)
(require 'clojure-mode)
(require 'apropos)
@@ -78,8 +78,8 @@ and be case-sensitive (based on CASE-SENSITIVE-P)."
(let* ((label (capitalize (if (string= type "variable") "var" type)))
(help (concat "Display doc for this " (downcase label))))
(cider-propertize-region (list 'apropos-symbol name
- 'action 'cider-apropos-doc
- 'help-echo help)
+ 'action 'cider-apropos-doc
+ 'help-echo help)
(insert-text-button name 'type 'apropos-symbol)
(insert "\n ")
(insert-text-button label 'type (intern (concat "apropos-" type)))