Function: dired-narrow
dired-narrow is an interactive and natively compiled function defined
in dired-narrow.el.
Signature
(dired-narrow)
Documentation
Narrow a dired buffer to the files matching a string.
If the string contains spaces, then each word is matched against the file name separately. To succeed, all of them have to match but the order does not matter.
For example "foo bar" matches filename "bar-and-foo.el".
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/xm3gi4y4qlmhgrb87qrgpns677w7ls45-emacs-packages-deps/share/emacs/site-lisp/elpa/dired-narrow-20250511.2303/dired-narrow.el
;;;###autoload
(defun dired-narrow ()
"Narrow a dired buffer to the files matching a string.
If the string contains spaces, then each word is matched against
the file name separately. To succeed, all of them have to match
but the order does not matter.
For example \"foo bar\" matches filename \"bar-and-foo.el\"."
(interactive)
(dired-narrow--internal 'dired-narrow--string-filter))