Mercurial > emacs
diff lisp/ibuffer.el @ 70375:87734376b1be
(ibuffer-compressed-file-name-regexp): Avoid loading
regexp-opt at run time.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 04 May 2006 13:39:36 +0000 |
parents | 986a4b641e9e |
children | cd97ab744c2d |
line wrap: on
line diff
--- a/lisp/ibuffer.el Thu May 04 13:23:38 2006 +0000 +++ b/lisp/ibuffer.el Thu May 04 13:39:36 2006 +0000 @@ -324,13 +324,14 @@ :type '(repeat function) :group 'ibuffer) +(eval-when-compile (defcustom ibuffer-compressed-file-name-regexp - (concat "\\.\\(" - (regexp-opt '("arj" "bgz" "bz2" "gz" "lzh" "taz" "tgz" "zip" "z")) - "\\)$") + (concat "\\.\\(" + (regexp-opt '("arj" "bgz" "bz2" "gz" "lzh" "taz" "tgz" "zip" "z")) + "\\)$") "Regexp to match compressed file names." :type 'regexp - :group 'ibuffer) + :group 'ibuffer)) (defcustom ibuffer-hook nil "Hook run when `ibuffer' is called."