diff options
| author | Kai Großjohann | 2003-01-10 16:42:27 +0000 |
|---|---|---|
| committer | Kai Großjohann | 2003-01-10 16:42:27 +0000 |
| commit | d4aeef3b961bcbfb78a388683f64a4ce971fda26 (patch) | |
| tree | d3f07a22c3167dc9709e875561463c558fc4afb6 | |
| parent | 4abc7470be618162b965f45ca02825303931015f (diff) | |
| download | emacs-d4aeef3b961bcbfb78a388683f64a4ce971fda26.tar.gz emacs-d4aeef3b961bcbfb78a388683f64a4ce971fda26.zip | |
(dired-garbage-files-regexp): Use \\' instead of $ and
use regexp-opt for readability.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/dired.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index aade4d68813..504e061643c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-01-10 Kai Gro,A_(Bjohann <kai.grossjohann@uni-duisburg.de> | ||
| 2 | |||
| 3 | * dired.el (dired-garbage-files-regexp): Use \\' instead of $ and | ||
| 4 | use regexp-opt for readability. | ||
| 5 | |||
| 1 | 2003-01-10 Mark A. Hershberger <mah@everybody.org> | 6 | 2003-01-10 Mark A. Hershberger <mah@everybody.org> |
| 2 | 7 | ||
| 3 | * xml.el (xml-parse-tag, xml-parse-attlist, xml-skip-dtd) | 8 | * xml.el (xml-parse-tag, xml-parse-attlist, xml-skip-dtd) |
diff --git a/lisp/dired.el b/lisp/dired.el index 9dbde910911..160fee7d34b 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -2570,7 +2570,9 @@ A prefix argument says to unflag those files instead." | |||
| 2570 | "auto save file"))) | 2570 | "auto save file"))) |
| 2571 | 2571 | ||
| 2572 | (defvar dired-garbage-files-regexp | 2572 | (defvar dired-garbage-files-regexp |
| 2573 | "\\.log$\\|\\.toc$\\|\\.dvi$\\|\\.bak$\\|\\.orig$\\|\\.rej$\\|.aux$" | 2573 | (concat (regexp-opt |
| 2574 | '(".log" ".toc" ".dvi" ".bak" ".orig" ".rej" ".aux")) | ||
| 2575 | "\\'") | ||
| 2574 | "*Regular expression to match \"garbage\" files for `dired-flag-garbage-files'.") | 2576 | "*Regular expression to match \"garbage\" files for `dired-flag-garbage-files'.") |
| 2575 | 2577 | ||
| 2576 | (defun dired-flag-garbage-files () | 2578 | (defun dired-flag-garbage-files () |