1
0
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:
Glenn Morris 2007-11-07 03:57:06 +00:00
parent c74e901d7f
commit 53afc6860d
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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))))