use regexp-opt for readability.
+2003-01-10 Kai Gro\e,A_\e(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)
"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 ()