From: Tino Calancha Date: Mon, 31 Jul 2017 05:55:47 +0000 (+0900) Subject: * lisp/dired (dired-trivial-filenames): Use \` and \' to match string bounds X-Git-Tag: emacs-26.0.90~517^2~61 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6ebef3daf24c847d6f16621489ae587e98c11ec0;p=emacs.git * lisp/dired (dired-trivial-filenames): Use \` and \' to match string bounds --- 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." :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."