diff options
-rw-r--r-- | src/boot.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot.clj b/src/boot.clj index 298edbd1..a94242fb 100644 --- a/src/boot.clj +++ b/src/boot.clj @@ -1800,7 +1800,7 @@ re-find (defn find-doc [re-string] (let [re (re-pattern re-string)] - (dorun (for [ns (all-ns) v (vals (ns-interns ns))] + (dorun (for [ns (all-ns) v (sort-by (comp :name meta) (vals (ns-interns ns)))] (and (:doc ^v) (or (re-find (re-matcher re (:doc ^v))) (re-find (re-matcher re (str (:name ^v)))))) |