# HG changeset patch # User Richard M. Stallman # Date 869166913 0 # Node ID 6f9fa4c8e92aff61fc58a8519d9b44eaa944ea35 # Parent 9b248fbd740fc84d78b077244059552f8a97ed4e (dired-omit-files): Add ".#foo" lock files to omissions. diff -r 9b248fbd740f -r 6f9fa4c8e92a lisp/dired-x.el --- a/lisp/dired-x.el Thu Jul 17 18:36:12 1997 +0000 +++ b/lisp/dired-x.el Thu Jul 17 19:15:13 1997 +0000 @@ -185,12 +185,12 @@ :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)