Skip to content

Commit

Permalink
Sort macro results by line number
Browse files Browse the repository at this point in the history
  • Loading branch information
expez committed Aug 11, 2015
1 parent 0caa330 commit 25edcdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/refactor_nrepl/find/find_macros.clj
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,5 @@
(conj dependents)
(mapcat (partial find-usages-in-file macro-def))
(into #{})
(remove nil?)))))
(remove nil?)
(sort-by :line-beg)))))

0 comments on commit 25edcdc

Please sign in to comment.