Mercurial > emacs
changeset 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 | 5087aed8b6e3 |
children | a0f85c984423 |
files | lisp/ibuffer.el |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
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)