Skip to content

Commit d373cb1

Browse files
committed
Remove the / prefixing vars in cider-browse-ns
I get that this is supposed to make it look like some.ns/var but it adds quite a bit of noise. There's also very little doubt that all these vars belong to the ns as they are indented below a header with the name of the ns
1 parent 9ff62a3 commit d373cb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cider-browse-ns.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
(cider-browse-ns-list (current-buffer)
9898
namespace
9999
(mapcar (lambda (var)
100-
(format "/%s"
100+
(format "%s"
101101
(cider-browse-ns-properties var)))
102102
vars))
103103
(setq-local cider-browse-ns-current-ns namespace))))
@@ -122,7 +122,7 @@
122122
(cond
123123
((= 1 (line-number-at-pos))
124124
'nothing-to-do)
125-
((string-match " +/\\(.+\\)" line)
125+
((string-match " +\\(.+\\)" line)
126126
(cider-doc-lookup (format "%s/%s" cider-browse-ns-current-ns (match-string 1 line))))
127127
(t
128128
(cider-browse-ns (replace-regexp-in-string " " "" line))))))

0 commit comments

Comments
 (0)