Variable: dired-trivial-filenames

dired-trivial-filenames is a customizable variable defined in dired.el.gz.

Value

"\\`\\.\\.?\\'\\|\\`\\.?#"

Documentation

Regexp of files to skip when finding first file of a directory.

A value of nil means move to the subdir line. A value of t means move to first file.

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defcustom dired-trivial-filenames "\\`\\.\\.?\\'\\|\\`\\.?#"
  "Regexp of files to skip when finding first file of a directory.
A value of nil means move to the subdir line.
A value of t means move to first file."
  :type '(choice (const :tag "Move to subdir" nil)
		 (const :tag "Move to first" t)
		 regexp)
  :group 'dired)