We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 874449d commit 475be54Copy full SHA for 475be54
dired-list.el
@@ -336,10 +336,11 @@ and files matching `grep-find-ignored-files' are ignored.
336
337
If called with raw prefix argument \\[universal-argument], no
338
files will be ignored."
339
- (interactive (let ((base-cmd (concat "find . "
340
- (if current-prefix-arg "" (dired-list--get-ignored-stuff dir))
341
- " -ls &")))
342
- (list (read-directory-name "Directory: " nil nil t)
+ (interactive (let* ((dir (read-directory-name "Directory: " nil nil t))
+ (base-cmd (concat "find . "
+ (if current-prefix-arg "" (dired-list--get-ignored-stuff dir))
+ " -ls &")))
343
+ (list dir
344
(read-from-minibuffer
345
"Find command: "
346
(cons base-cmd (string-match-p "-ls &" base-cmd))))))
0 commit comments