summaryrefslogtreecommitdiff
path: root/cider-doc.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-05-20 21:53:39 -0700
committerBozhidar Batsov <bozhidar@batsov.com>2016-05-20 21:53:39 -0700
commit939ce7327185f50c024bc499bf42d6e613c9838f (patch)
treedea0d8912ebc507b30bad28f55cdbb3f7d49963a /cider-doc.el
parent80a18e042b23290f8400d14397e5f71f99f2ca6d (diff)
Improve a comment
Diffstat (limited to 'cider-doc.el')
-rw-r--r--cider-doc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/cider-doc.el b/cider-doc.el
index 28d40870..8d4f7418 100644
--- a/cider-doc.el
+++ b/cider-doc.el
@@ -460,8 +460,8 @@ Tables are marked to be ignored by line wrap."
(let* ((ns-sym-split (split-string ns-sym "/"))
(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
+ ;; if the var belongs to the same namespace,
+ ;; we omit the namespace to save some screen space
(symbol (if (equal ns see-also-ns) see-also-sym ns-sym)))
(insert-button symbol
'type 'help-xref