* lisp/dired (dired-trivial-filenames): Use \` and \' to match string bounds

This commit is contained in:
Tino Calancha 2017-07-31 14:55:47 +09:00
parent ebce9c2440
commit 6ebef3daf2

View file

@ -133,7 +133,7 @@ always set this variable to t."
:type 'boolean
:group 'dired-mark)
(defcustom dired-trivial-filenames (purecopy "^\\.\\.?$\\|^#")
(defcustom dired-trivial-filenames (purecopy "\\`\\.\\.?\\'\\|\\`#")
"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."