]> git.eshelyaron.com Git - emacs.git/commit
; Ensure 'eshell-split-filename' doesn't expand the filename first
authorJim Porter <jporterbugs@gmail.com>
Sat, 26 Oct 2024 21:22:38 +0000 (14:22 -0700)
committerEshel Yaron <me@eshelyaron.com>
Tue, 29 Oct 2024 09:52:26 +0000 (10:52 +0100)
commit56cec5109bfe88b36ce5778e9fa5e7d26b0552a9
treeaee77671b8c0e967450feacc136ae1709118fab0
parent113c2c9349b70353dc5d4878f7576b0863635df4
; Ensure 'eshell-split-filename' doesn't expand the filename first

* lisp/eshell/esh-util.el (eshell-split-filename): Never expand the
filename.

* lisp/eshell/em-glob.el (eshell-glob-p): A leading "~" isn't a globbing
character.

* test/lisp/eshell/esh-util-tests.el
(esh-util-test/split-filename/absolute)
(esh-util-test/split-filename/relative)
(esh-util-test/split-filename/user)
(esh-util-test/split-filename/remote-absolute)
(esh-util-test/split-filename/remote-relative)
(esh-util-test/split-filename/remote-user): New tests.

(cherry picked from commit d6fe32e531044b518ae5b6b39377378cbf13292d)
lisp/eshell/em-glob.el
lisp/eshell/esh-util.el
test/lisp/eshell/esh-util-tests.el