summaryrefslogtreecommitdiff
path: root/lisp/ibuffer.el
diff options
context:
space:
mode:
authorJohn Paul Wallington <jpw@pobox.com>2006-05-07 00:00:12 +0000
committerJohn Paul Wallington <jpw@pobox.com>2006-05-07 00:00:12 +0000
commitfe99056f6b41b8285162e82058d6e124118d0282 (patch)
tree7404a906d424c687f91ac81ba55507067f8889ef /lisp/ibuffer.el
parent535c8bdb2bc8845af4bc345fccf4141508f0f326 (diff)
downloademacs-fe99056f6b41b8285162e82058d6e124118d0282.tar.gz
(ibuffer-compressed-file-name-regexp): Avoid `regexp-opt' and simplify
regexp for readability.
Diffstat (limited to 'lisp/ibuffer.el')
-rw-r--r--lisp/ibuffer.el4
1 files changed, 1 insertions, 3 deletions
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'."
: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)