File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1924,7 +1924,7 @@ content) are considered part of the preceding sexp."
1924
1924
(make-obsolete-variable 'clojure-namespace-name-regex 'clojure-namespace-regexp " 5.12.0" )
1925
1925
1926
1926
(defconst clojure-namespace-regexp
1927
- (rx line-start " (" (? " clojure.core/" ) (or " in-ns" " ns" " ns+" )))
1927
+ (rx line-start " (" (? " clojure.core/" ) (or " in-ns" " ns" " ns+" ) symbol-end ))
1928
1928
1929
1929
(defcustom clojure-cache-ns nil
1930
1930
" Whether to cache the results of `clojure-find-ns' .
Original file line number Diff line number Diff line change 109
109
|
110
110
(ns foo4)"
111
111
(re-search-backward " |" )
112
- (expect (clojure-find-ns) :to-equal " foo3" ))))
112
+ (expect (clojure-find-ns) :to-equal " foo3" ))
113
+ (with-clojure-buffer " (ns foo)
114
+ (ns-unmap *ns* 'map)
115
+ (ns.misleading 1 2 3)"
116
+ (expect (clojure-find-ns) :to-equal " foo" ))))
113
117
114
118
(describe " clojure-sort-ns"
115
119
(it " should sort requires in a basic ns"
You can’t perform that action at this time.
0 commit comments