changeset 20873:d2b5d0e2607e

(jka-compr-compression-info-list): Handle bzip.
author Richard M. Stallman <rms@gnu.org>
date Sun, 08 Feb 1998 22:45:47 +0000
parents 431f875501a6
children 223c220043af
files lisp/jka-compr.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/jka-compr.el	Sun Feb 08 22:40:44 1998 +0000
+++ b/lisp/jka-compr.el	Sun Feb 08 22:45:47 1998 +0000
@@ -121,7 +121,7 @@
 
 
 ;;; I have this defined so that .Z files are assumed to be in unix
-;;; compress format; and .gz files, in gzip format.
+;;; compress format; and .gz files, in gzip format, and .bz2 files in bzip fmt.
 (defcustom jka-compr-compression-info-list
   ;;[regexp
   ;; compr-message  compr-prog  compr-args
@@ -131,6 +131,10 @@
      "compressing"    "compress"     ("-c")
      "uncompressing"  "uncompress"   ("-c")
      nil t]
+    ["\\.bz2\\'"
+     "bzip2ing"        "bzip2"         ("")
+     "bunzip2ing"      "bzip2"         ("-d")
+     t t]
     ["\\.tgz\\'"
      "zipping"        "gzip"         ("-c" "-q")
      "unzipping"      "gzip"         ("-c" "-q" "-d")