Make :only work with namespaces too.
This commit is contained in:
parent
e55d98a993
commit
139b87c599
1 changed files with 5 additions and 1 deletions
|
@ -107,7 +107,11 @@
|
|||
(symbol))))
|
||||
ns))
|
||||
'(fn [m & vars]
|
||||
(some #(= (str "#'" %) (-> m ::var str)) vars))])
|
||||
(some #(let [var (str "#'" %)]
|
||||
(if (some #{\/} var)
|
||||
(= var (-> m ::var str))
|
||||
(= % (ns-name (:ns m)))))
|
||||
vars))])
|
||||
|
||||
(defn- convert-to-ns [possible-file]
|
||||
(if (and (.endsWith possible-file ".clj") (.exists (io/file possible-file)))
|
||||
|
|
Loading…
Reference in a new issue