diff options
| author | John Paul Wallington | 2006-05-07 00:00:12 +0000 |
|---|---|---|
| committer | John Paul Wallington | 2006-05-07 00:00:12 +0000 |
| commit | fe99056f6b41b8285162e82058d6e124118d0282 (patch) | |
| tree | 7404a906d424c687f91ac81ba55507067f8889ef | |
| parent | 535c8bdb2bc8845af4bc345fccf4141508f0f326 (diff) | |
| download | emacs-fe99056f6b41b8285162e82058d6e124118d0282.tar.gz emacs-fe99056f6b41b8285162e82058d6e124118d0282.zip | |
(ibuffer-compressed-file-name-regexp): Avoid `regexp-opt' and simplify
regexp for readability.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/ibuffer.el | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0f328678509..07e77906ccf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-05-07 John Paul Wallington <jpw@pobox.com> | ||
| 2 | |||
| 3 | * ibuffer.el (ibuffer-compressed-file-name-regexp): Avoid | ||
| 4 | `regexp-opt'; simplify regexp for readability. | ||
| 5 | |||
| 1 | 2006-05-06 Eli Zaretskii <eliz@gnu.org> | 6 | 2006-05-06 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * ldefs-boot.el (dired-do-redisplay, dired-maybe-insert-subdir): | 8 | * ldefs-boot.el (dired-do-redisplay, dired-maybe-insert-subdir): |
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index a4762cfec10..6264d2e56b5 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -325,9 +325,7 @@ directory, like `default-directory'." | |||
| 325 | :group 'ibuffer) | 325 | :group 'ibuffer) |
| 326 | 326 | ||
| 327 | (defcustom ibuffer-compressed-file-name-regexp | 327 | (defcustom ibuffer-compressed-file-name-regexp |
| 328 | (concat "\\.\\(" | 328 | "\\.\\(arj\\|bgz\\|bz2\\|gz\\|lzh\\|taz\\|tgz\\|zip\\|z\\)$" |
| 329 | (regexp-opt '("arj" "bgz" "bz2" "gz" "lzh" "taz" "tgz" "zip" "z")) | ||
| 330 | "\\)$") | ||
| 331 | "Regexp to match compressed file names." | 329 | "Regexp to match compressed file names." |
| 332 | :type 'regexp | 330 | :type 'regexp |
| 333 | :group 'ibuffer) | 331 | :group 'ibuffer) |