aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTino Calancha2017-07-31 14:55:47 +0900
committerTino Calancha2017-07-31 14:55:47 +0900
commit6ebef3daf24c847d6f16621489ae587e98c11ec0 (patch)
treecf39922ca8cc0185b4a8c7644bdf647f5b2edf90
parentebce9c2440e69a1c521cb6ad58a909161cfefc7e (diff)
downloademacs-6ebef3daf24c847d6f16621489ae587e98c11ec0.tar.gz
emacs-6ebef3daf24c847d6f16621489ae587e98c11ec0.zip
* lisp/dired (dired-trivial-filenames): Use \` and \' to match string bounds
-rw-r--r--lisp/dired.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index a056ad679fa..ca005785d67 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -133,7 +133,7 @@ always set this variable to t."
133 :type 'boolean 133 :type 'boolean
134 :group 'dired-mark) 134 :group 'dired-mark)
135 135
136(defcustom dired-trivial-filenames (purecopy "^\\.\\.?$\\|^#") 136(defcustom dired-trivial-filenames (purecopy "\\`\\.\\.?\\'\\|\\`#")
137 "Regexp of files to skip when finding first file of a directory. 137 "Regexp of files to skip when finding first file of a directory.
138A value of nil means move to the subdir line. 138A value of nil means move to the subdir line.
139A value of t means move to first file." 139A value of t means move to first file."