From b3b875e22610ecd6d38a7ea5a03571bec5d15d03 Mon Sep 17 00:00:00 2001 From: "Itai Y. Efrat" Date: Sat, 23 Oct 2021 15:01:55 +0300 Subject: [PATCH] fix(dired): dired-omit-files additions - escape initial `.` - use only noncapturing groups --- modules/emacs/dired/config.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/emacs/dired/config.el b/modules/emacs/dired/config.el index f43f1a394..9421d69d5 100644 --- a/modules/emacs/dired/config.el +++ b/modules/emacs/dired/config.el @@ -157,10 +157,10 @@ we have to clean it up ourselves." (setq dired-omit-verbose nil dired-omit-files (concat dired-omit-files - "\\|^.DS_Store\\'" - "\\|^.project\\(?:ile\\)?\\'" - "\\|^.\\(svn\\|git\\)\\'" - "\\|^.ccls-cache\\'" + "\\|^\\.DS_Store\\'" + "\\|^\\.project\\(?:ile\\)?\\'" + "\\|^\\.\\(?:svn\\|git\\)\\'" + "\\|^\\.ccls-cache\\'" "\\|\\(?:\\.js\\)?\\.meta\\'" "\\|\\.\\(?:elc\\|o\\|pyo\\|swp\\|class\\)\\'")) ;; Disable the prompt about whether I want to kill the Dired buffer for a