diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2016-04-08 10:15:54 +0300 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2016-04-08 10:15:54 +0300 |
commit | fbbc0e742b4815e63a30710e54efa3cc7043cd25 (patch) | |
tree | 4280a155c77d74e741044b00cca17d22abeb4788 /cider-eldoc.el | |
parent | 40f4e2f6abe810e9d5720dfd664c3a1c4d484b5d (diff) |
[Fix #1654] Account for namespace in hardcoded eldoc mappings
Diffstat (limited to 'cider-eldoc.el')
-rw-r--r-- | cider-eldoc.el | 4 |
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) |