summaryrefslogtreecommitdiff
path: root/cider-eldoc.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-04-08 10:15:54 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2016-04-08 10:15:54 +0300
commitfbbc0e742b4815e63a30710e54efa3cc7043cd25 (patch)
tree4280a155c77d74e741044b00cca17d22abeb4788 /cider-eldoc.el
parent40f4e2f6abe810e9d5720dfd664c3a1c4d484b5d (diff)
[Fix #1654] Account for namespace in hardcoded eldoc mappings
Diffstat (limited to 'cider-eldoc.el')
-rw-r--r--cider-eldoc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/cider-eldoc.el b/cider-eldoc.el
index a5673262..f7f228dc 100644
--- a/cider-eldoc.el
+++ b/cider-eldoc.el
@@ -165,9 +165,9 @@ This includes the arglist and ns and symbol name (if available)."
;; check if we can used the cached eldoc info
(cond
;; handle keywords for map access
- ((string-prefix-p ":" thing) '(("map") ("map" "not-found")))
+ ((string-prefix-p ":" thing) (list nil thing '(("map") ("map" "not-found"))))
;; handle Classname. by displaying the eldoc for new
- ((string-match-p "^[A-Z].+\\.$" thing) '(("args*")))
+ ((string-match-p "^[A-Z].+\\.$" thing) (list nil thing '(("args*"))))
;; generic case
(t (if (equal thing (car cider-eldoc-last-symbol))
(cdr cider-eldoc-last-symbol)