mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-03 11:33:37 +00:00
David Hansen <david.hansen at gmx.net>
(eshell-extended-glob): Sort matches.
This commit is contained in:
parent
c74e901d7f
commit
53afc6860d
@ -1,3 +1,7 @@
|
||||
2007-11-07 David Hansen <david.hansen@gmx.net>
|
||||
|
||||
* eshell/em-glob.el (eshell-extended-glob): Sort matches.
|
||||
|
||||
2007-11-07 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* emulation/tpu-mapper.el (tpu-map-key): Use unless rather than cond.
|
||||
|
@ -258,7 +258,7 @@ the form:
|
||||
(eshell-glob-entries (file-name-as-directory ".") paths))
|
||||
(if message-shown
|
||||
(message nil)))
|
||||
(or (and matches (nreverse matches))
|
||||
(or (and matches (sort matches #'string<))
|
||||
(if eshell-error-if-no-glob
|
||||
(error "No matches found: %s" glob)
|
||||
glob))))
|
||||
|
Loading…
Reference in New Issue
Block a user