mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-19 18:13:55 +00:00
(dired-garbage-files-regexp): Use \\' instead of $ and
use regexp-opt for readability.
This commit is contained in:
parent
4abc7470be
commit
d4aeef3b96
@ -1,3 +1,8 @@
|
||||
2003-01-10 Kai Gro,A_(Bjohann <kai.grossjohann@uni-duisburg.de>
|
||||
|
||||
* dired.el (dired-garbage-files-regexp): Use \\' instead of $ and
|
||||
use regexp-opt for readability.
|
||||
|
||||
2003-01-10 Mark A. Hershberger <mah@everybody.org>
|
||||
|
||||
* xml.el (xml-parse-tag, xml-parse-attlist, xml-skip-dtd)
|
||||
|
@ -2570,7 +2570,9 @@ A prefix argument says to unflag those files instead."
|
||||
"auto save file")))
|
||||
|
||||
(defvar dired-garbage-files-regexp
|
||||
"\\.log$\\|\\.toc$\\|\\.dvi$\\|\\.bak$\\|\\.orig$\\|\\.rej$\\|.aux$"
|
||||
(concat (regexp-opt
|
||||
'(".log" ".toc" ".dvi" ".bak" ".orig" ".rej" ".aux"))
|
||||
"\\'")
|
||||
"*Regular expression to match \"garbage\" files for `dired-flag-garbage-files'.")
|
||||
|
||||
(defun dired-flag-garbage-files ()
|
||||
|
Loading…
Reference in New Issue
Block a user