Mercurial > emacs
diff lisp/ibuffer.el @ 70489:1fa9bcad4532
(ibuffer-compressed-file-name-regexp): Avoid `regexp-opt' and simplify
regexp for readability.
author | John Paul Wallington <jpw@pobox.com> |
---|---|
date | Sat, 06 May 2006 23:58:31 +0000 |
parents | cd97ab744c2d |
children | 7483188f3c91 146cd8369025 |
line wrap: on
line diff
--- a/lisp/ibuffer.el Sat May 06 23:57:11 2006 +0000 +++ b/lisp/ibuffer.el Sat May 06 23:58:31 2006 +0000 @@ -325,9 +325,7 @@ :group 'ibuffer) (defcustom ibuffer-compressed-file-name-regexp - (concat "\\.\\(" - (regexp-opt '("arj" "bgz" "bz2" "gz" "lzh" "taz" "tgz" "zip" "z")) - "\\)$") + "\\.\\(arj\\|bgz\\|bz2\\|gz\\|lzh\\|taz\\|tgz\\|zip\\|z\\)$" "Regexp to match compressed file names." :type 'regexp :group 'ibuffer)