]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-omit-files): Add ".#foo" lock files to omissions.
authorRichard M. Stallman <rms@gnu.org>
Thu, 17 Jul 1997 19:15:13 +0000 (19:15 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 17 Jul 1997 19:15:13 +0000 (19:15 +0000)
lisp/dired-x.el

index aed4373105a733ca5845a5c65a3edd75335dfb7a..680343450310fbcfd7b851776458ff7c6604318e 100644 (file)
@@ -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)