From 99358b9788c9c6849f8fa17984dfa57853502cd7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 17 Jul 1997 19:15:13 +0000 Subject: [PATCH] (dired-omit-files): Add ".#foo" lock files to omissions. --- lisp/dired-x.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/dired-x.el b/lisp/dired-x.el index aed4373105a..68034345031 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el @@ -185,12 +185,12 @@ plus those ending with extensions in `dired-omit-extensions'." :group 'dired-x) (make-variable-buffer-local 'dired-omit-files-p) -(defcustom dired-omit-files "^#\\|^\\.$\\|^\\.\\.$" +(defcustom dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.$" "*Filenames matching this regexp will not be displayed. This only has effect when `dired-omit-files-p' is t. See interactive function `dired-omit-toggle' \(\\[dired-omit-toggle]\) and variable -`dired-omit-extensions'. The default is to omit `.', `..', and auto-save -files." +`dired-omit-extensions'. The default is to omit `.', `..', auto-save +files and lock files." :type 'regexp :group 'dired-x) -- 2.39.2