]> 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)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 10 Dec 2023 04:57:35 +0000 (23:57 -0500)
commitfe67c36cd9bb2967e0c2eca3d4a31c0950130eb7
treee8f46a9033e35d6c7860a5b5f6f8934f005f423e
parent29957969e5199bdab5612af68e33b3989e4bbbd2
(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.
lisp/dired.el
lisp/ls-lisp.el