Variable: dired-omit-lines
dired-omit-lines is a customizable variable defined in dired-x.el.gz.
Value
nil
Documentation
Regexp matching lines to be omitted by dired-omit-mode(var)/dired-omit-mode(fun).
The value can also be a variable whose value is such a regexp. The value can also be nil, which means do no line matching.
Some predefined regexp variables for Dired, which you can use as the option value:
* dired-re-inode-size
* dired-re-mark
* dired-re-maybe-mark
* dired-re-dir
* dired-re-sym
* dired-re-exe
* dired-re-perms
* dired-re-dot
* dired-re-no-dot
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/dired-x.el.gz
(defcustom dired-omit-lines nil
"Regexp matching lines to be omitted by `dired-omit-mode'.
The value can also be a variable whose value is such a regexp.
The value can also be nil, which means do no line matching.
Some predefined regexp variables for Dired, which you can use as the
option value:
* `dired-re-inode-size'
* `dired-re-mark'
* `dired-re-maybe-mark'
* `dired-re-dir'
* `dired-re-sym'
* `dired-re-exe'
* `dired-re-perms'
* `dired-re-dot'
* `dired-re-no-dot'"
:type `(choice
(const :tag "Do not match lines to omit" nil)
(regexp
:tag "Regexp to match lines to omit (default omits executables)"
:value ,dired-re-exe)
(restricted-sexp
:tag "Variable with regexp value (default: `dired-re-exe')"
:match-alternatives
(,(lambda (obj) (and (symbolp obj) (boundp obj))))
:value dired-re-exe))
:group 'dired-x)