From: Richard M. Stallman Date: Thu, 17 Jul 1997 19:15:13 +0000 (+0000) Subject: (dired-omit-files): Add ".#foo" lock files to omissions. X-Git-Tag: emacs-20.1~1108 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=99358b9788c9c6849f8fa17984dfa57853502cd7;p=emacs.git (dired-omit-files): Add ".#foo" lock files to omissions. --- 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)