emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 6ebef3d: * lisp/dired (dired-trivial-filenames): Us


From: Tino Calancha
Subject: [Emacs-diffs] master 6ebef3d: * lisp/dired (dired-trivial-filenames): Use \` and \' to match string bounds
Date: Mon, 31 Jul 2017 01:56:44 -0400 (EDT)

branch: master
commit 6ebef3daf24c847d6f16621489ae587e98c11ec0
Author: Tino Calancha <address@hidden>
Commit: Tino Calancha <address@hidden>

    * lisp/dired (dired-trivial-filenames): Use \` and \' to match string bounds
---
 lisp/dired.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/dired.el b/lisp/dired.el
index a056ad6..ca00578 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]