diff options
author | expez <expez@expez.com> | 2015-04-23 18:36:22 +0200 |
---|---|---|
committer | expez <expez@expez.com> | 2015-04-23 18:39:34 +0200 |
commit | d373cb1f877e5bd7f095d7b339ad6d6423731830 (patch) | |
tree | d5a86b7831fcd787767f848917407c2e530c23ee /cider-browse-ns.el | |
parent | 9ff62a39f36f0c26217f2c8c8cd7832ba8b1d7ac (diff) |
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
Diffstat (limited to 'cider-browse-ns.el')
-rw-r--r-- | cider-browse-ns.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cider-browse-ns.el b/cider-browse-ns.el index 9f247969..ae818f14 100644 --- a/cider-browse-ns.el +++ b/cider-browse-ns.el @@ -97,7 +97,7 @@ (cider-browse-ns-list (current-buffer) namespace (mapcar (lambda (var) - (format "/%s" + (format "%s" (cider-browse-ns-properties var))) vars)) (setq-local cider-browse-ns-current-ns namespace)))) @@ -122,7 +122,7 @@ (cond ((= 1 (line-number-at-pos)) 'nothing-to-do) - ((string-match " +/\\(.+\\)" line) + ((string-match " +\\(.+\\)" line) (cider-doc-lookup (format "%s/%s" cider-browse-ns-current-ns (match-string 1 line)))) (t (cider-browse-ns (replace-regexp-in-string " " "" line)))))) |