Function: diredfl-match-ignored-extensions
diredfl-match-ignored-extensions is a natively compiled function
defined in diredfl.el.
Signature
(diredfl-match-ignored-extensions LIMIT)
Documentation
A matcher of ignored filename extensions for use in font-lock-keywords.
LIMIT is the extent of the search.
Source Code
;; Defined in /nix/store/r10m8yv1raidrn3adc3gjqdxz7rm5wi5-emacs-packages-deps/share/emacs/site-lisp/elpa/diredfl-20241201.1141/diredfl.el
(defun diredfl-match-ignored-extensions (limit)
"A matcher of ignored filename extensions for use in `font-lock-keywords'.
LIMIT is the extent of the search."
(let ((ignored-extensions
(append (if (boundp 'dired-omit-extensions)
dired-omit-extensions
completion-ignored-extensions)
(when diredfl-ignore-compressed-flag
diredfl-compressed-extensions))))
(when ignored-extensions
(re-search-forward
(concat "^ \\(.*"
(regexp-opt ignored-extensions)
;; Optional executable flag
"[*]?\\)$")
limit
t))))