* lisp/files.el (list-directory): Allow specifying a wildcard
argument interactively again (bug#55877).
(list (read-file-name
(if pfx "List directory (verbose): "
"List directory (brief): ")
- nil default-directory t
- nil
+ nil default-directory
(lambda (file)
(or (file-directory-p file)
(insert-directory-wildcard-in-dir-p
- (expand-file-name file)))))
+ (file-name-as-directory (expand-file-name file))))))
pfx)))
(let ((switches (if verbose list-directory-verbose-switches
list-directory-brief-switches))