* lisp/dired (dired-trivial-filenames): Use \` and \' to match string bounds
This commit is contained in:
parent
ebce9c2440
commit
6ebef3daf2
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue