]> git.eshelyaron.com Git - emacs.git/commit
Fix expansion of globs that contain a ~USER reference
authorJim Porter <jporterbugs@gmail.com>
Tue, 28 Mar 2023 03:58:55 +0000 (20:58 -0700)
committerJim Porter <jporterbugs@gmail.com>
Tue, 28 Mar 2023 04:04:27 +0000 (21:04 -0700)
commit28a9438169f379cea6d79fb480a85fc56ad666f4
tree8b0c74c1cd4d8877163e0f21c24a4de95f7a0f89
parent66b4394461589d0db8690b7971000f687bd3ad57
Fix expansion of globs that contain a ~USER reference

This regressed from the fix to bug#28064, and was discovered here:
<https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-03/msg01744.html>.

* lisp/eshell/em-dirs.el (eshell-expand-user-reference): Let FILE be a
list, and move the implementation to...
(eshell-expand-user-reference-1): ... here.

* lisp/eshell/em-glob.el (eshell-add-glob-modifier): Remove special
handling for expanding user references; it's better to keep it in
"em-dirs.el".
lisp/eshell/em-dirs.el
lisp/eshell/em-glob.el