]> git.eshelyaron.com Git - emacs.git/commit
(dired): Remove `ls-lisp` advice
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 10 Dec 2023 04:57:35 +0000 (23:57 -0500)
committerEshel Yaron <me@eshelyaron.com>
Thu, 21 Dec 2023 20:51:00 +0000 (21:51 +0100)
commit9ca0a169e0a2fd84b22b9a1c30d850d4d32272c3
tree672b089da120f0356a56be991f33cdaec96ef3c6
parent4d8362ca95c72f1786b1ef216e629d3b50000e2e
(dired): Remove `ls-lisp` advice

`ls-lisp` used to advise `dired` because `dired-insert-directory`
blindly used `insert-directory-program` (together with a shell)
in order to implement the "directory wildcard" expansion.

* lisp/dired.el (dired-insert-directory): Make the "directory wildcard"
code obey `files--use-insert-directory-program-p`, using
`file-expand-wildcards`.

* lisp/ls-lisp.el (ls-lisp--dired, ls-lisp-unload-function): Delete funs.
(dired): Don't advise any more.

(cherry picked from commit fe67c36cd9bb2967e0c2eca3d4a31c0950130eb7)
lisp/dired.el
lisp/ls-lisp.el