changeset 18838:6f9fa4c8e92a

(dired-omit-files): Add ".#foo" lock files to omissions.
author Richard M. Stallman <rms@gnu.org>
date Thu, 17 Jul 1997 19:15:13 +0000
parents 9b248fbd740f
children 1405083241e8
files lisp/dired-x.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)