summaryrefslogtreecommitdiff
path: root/cider-doc.el
diff options
context:
space:
mode:
authorChaitanya Koparkar <ckoparkar@live.in>2016-05-11 10:08:39 +0530
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2016-05-10 23:38:39 -0500
commit89fb519b9a2344913f11ccca2e0bacd3ad4bc2fc (patch)
tree3d47dba7a7fbbb09041748fece43769adb7b8d47 /cider-doc.el
parenta3099d5bf6e720dc3f105285aee635920a73d0c8 (diff)
Fix variable name in see-also (#1744)
Diffstat (limited to 'cider-doc.el')
-rw-r--r--cider-doc.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/cider-doc.el b/cider-doc.el
index efc06b27..5d3b234f 100644
--- a/cider-doc.el
+++ b/cider-doc.el
@@ -453,11 +453,11 @@ Tables are marked to be ignored by line wrap."
(mapc (lambda (ns-sym)
(let* ((ns-sym-split (split-string ns-sym "/"))
- (ns (car ns-sym-split))
- (sym (cadr ns-sym-split))
+ (see-also-ns (car ns-sym-split))
+ (see-also-sym (cadr ns-sym-split))
;; if the fn belongs to the same ns,
;; don't display the namespace prefixed name
- (symbol (if (equal ns ns) sym ns-sym)))
+ (symbol (if (equal ns see-also-ns) see-also-sym ns-sym)))
(insert-button symbol
'type 'help-xref
'help-function (apply-partially #'cider-doc-lookup symbol)))