Ensure sorting is applied for in-directory
In initial-state, the call to dir-list will sort the results of directory-list. However, in initial-state, there is a different path that will call directory-list without sorting. This change makes these paths consistent.
This commit is contained in:
parent
776b69e399
commit
980a9fbd4d
|
@ -2335,7 +2335,7 @@
|
|||
(if orig-dir
|
||||
(dir-list (path->complete-path orig-dir init-dir)
|
||||
orig-dir null)
|
||||
(directory-list init-dir)))
|
||||
(sort (directory-list init-dir) path<?)))
|
||||
|
||||
(define in-directory
|
||||
(case-lambda
|
||||
|
|
Loading…
Reference in New Issue
Block a user