summaryrefslogtreecommitdiff
path: root/cider-eldoc.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-04-08 10:34:03 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2016-04-08 10:34:03 +0300
commit66e1b4a64f116403c6008933aacb0a138c0493e4 (patch)
tree5139706f4576c06500da2532fcc32c0b4a0fc3a7 /cider-eldoc.el
parentb91de64b72faa9aa440d451461922e3d078f4241 (diff)
Add a note about the ns macro's eldoc handling
Diffstat (limited to 'cider-eldoc.el')
-rw-r--r--cider-eldoc.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/cider-eldoc.el b/cider-eldoc.el
index 8dfc046f..2a607fa7 100644
--- a/cider-eldoc.el
+++ b/cider-eldoc.el
@@ -150,6 +150,7 @@ if the maximum number of sexps to skip is exceeded."
(defun cider-eldoc-info (thing)
"Return the info for THING.
This includes the arglist and ns and symbol name (if available)."
+ ;; a dirty hack to handle the keywords used by the ns macro
(let ((thing (pcase thing
(":import" "clojure.core/import")
(":refer-clojure" "clojure.core/refer-clojure")