branch: externals/filechooser
commit 94c2632475704b6831e24676b720508b12c109c2
Author: Rahguzar <[email protected]>
Commit: Rahguzar <[email protected]>
Dired: check file passes filters
---
filechooser.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/filechooser.el b/filechooser.el
index af04d9d02a..c590e0fc59 100644
--- a/filechooser.el
+++ b/filechooser.el
@@ -481,7 +481,8 @@ without exiting file selection."
(when (and filechooser-dired-selection-mode
(derived-mode-p 'dired-mode)
(eq (1+ beg) end)
- (not (invisible-p (1- (pos-eol)))))
+ (not (invisible-p (1- (pos-eol))))
+ (filechooser--filters-predicate (dired-get-filename 'no-dir t)))
(save-excursion
(goto-char beg)
(when (and (re-search-forward dired-re-mark end t)