diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2023-12-09 22:55:32 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2023-12-09 23:13:44 -0500 |
commit | f7cf85c3879c6857e8478bef41cce25a94759fb8 (patch) | |
tree | c5d9f77b6fd7b73b39a05ffe7c7b34d46949c48e /lisp/emacs-lisp/regexp-opt.el | |
parent | 6cc1418fc3e8107cab2c9824c367ba7762235aef (diff) | |
download | emacs-f7cf85c3879c6857e8478bef41cce25a94759fb8.tar.gz emacs-f7cf85c3879c6857e8478bef41cce25a94759fb8.tar.bz2 emacs-f7cf85c3879c6857e8478bef41cce25a94759fb8.zip |
(dired-insert-directory): Obey `file-list` and `wildcard`
Commit 6f6639d6ed6c's support for wildcards in directories failed
to obey `file-list` and `wildcard` arguments. Fix it.
* lisp/dired.el (dired-insert-directory): Expand directory wildcards
only if `file-list` is nil and `wildcard` is non-nil.
Also, refer back to `dir-wildcard` instead of recomputing it.
(dired-readin-insert): Pass a non-nil `wildcard` when wildcard
expansion might be needed to preserve former behavior.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions