aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/dired-x.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-07-17 19:15:13 +0000
committerRichard M. Stallman <[email protected]>1997-07-17 19:15:13 +0000
commit99358b9788c9c6849f8fa17984dfa57853502cd7 (patch)
tree66da9c86697cf1a101dd068dd90065ce227b28f9 /lisp/dired-x.el
parent82b6a81f61c4710d1d830f7be6c55ce250b22dcb (diff)
(dired-omit-files): Add ".#foo" lock files to omissions.
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r--lisp/dired-x.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index aed4373105..6803434503 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)