Commit 6ebef3da authored by Tino Calancha's avatar Tino Calancha
Browse files

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

parent ebce9c24
...@@ -133,7 +133,7 @@ always set this variable to t." ...@@ -133,7 +133,7 @@ always set this variable to t."
:type 'boolean :type 'boolean
:group 'dired-mark) :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. "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 nil means move to the subdir line.
A value of t means move to first file." A value of t means move to first file."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment