mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Fix dired-omit-files regexp (Bug#35668)
* lisp/dired-x.el (dired-omit-files): Match beginning and end of string, rather than beginning and end of line.
This commit is contained in:
parent
d0e9113de9
commit
d7c8196c96
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ See Info node `(dired-x) Omitting Variables' for more information."
|
|||
|
||||
(put 'dired-omit-mode 'safe-local-variable 'booleanp)
|
||||
|
||||
(defcustom dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.$"
|
||||
(defcustom dired-omit-files "\\`[.]?#\\|\\`[.][.]?\\'"
|
||||
"Filenames matching this regexp will not be displayed.
|
||||
This only has effect when `dired-omit-mode' is t. See interactive function
|
||||
`dired-omit-mode' (\\[dired-omit-mode]) and variable
|
||||
|
|
|
|||
Loading…
Reference in a new issue