summaryrefslogtreecommitdiff
path: root/lisp/dired-x.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-17 19:15:13 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-17 19:15:13 +0000
commit4dee674a5ade4497947b2fb7df101531c7ecad2b (patch)
treeaa8c7b693e9559ac2da32317ce35295ec2b31982 /lisp/dired-x.el
parent7e073dbba2c0f2913a36f11272b8adf4da2c3ea8 (diff)
downloademacs-4dee674a5ade4497947b2fb7df101531c7ecad2b.tar.gz
(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 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)