diff options
author | Jim Porter <jporterbugs@gmail.com> | 2024-10-20 21:37:55 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2024-10-26 14:50:20 -0700 |
commit | 523aade3ea11c188e30e3889f031d1848129cf82 (patch) | |
tree | 20615061c23f75c2abdd370da0f23d2672197ce7 /lisp/emacs-lisp/regexp-opt.el | |
parent | d6fe32e531044b518ae5b6b39377378cbf13292d (diff) | |
download | emacs-523aade3ea11c188e30e3889f031d1848129cf82.tar.gz emacs-523aade3ea11c188e30e3889f031d1848129cf82.tar.bz2 emacs-523aade3ea11c188e30e3889f031d1848129cf82.zip |
Fix Eshell incompatibility with "[" command when eshell-pred is disabled
* lisp/eshell/em-pred.el (eshell-pred-initialize): Ensure that
'eshell-parse-arg-modifier' is called before 'eshell-parse-glob-chars'.
* lisp/eshell/em-glob.el (eshell-glob-initialize): Use a number for hook
depth to be clearer.
(eshell-parse-glob-chars): Simplify; since eshell-pred's hook now runs
first, the extra code is no longer necessary.
* test/lisp/eshell/em-glob-tests.el
(em-glob-test/test-command-without-pred): New test.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions