changeset 82834:4b2a7cbf8aaf

(jka-compr-compression-info-list): Add .svgz to treat it like .tgz.
author Juri Linkov <juri@jurta.org>
date Sat, 25 Aug 2007 14:04:34 +0000
parents 8c8c5e6ccef2
children de6e597c221b
files lisp/jka-cmpr-hook.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/jka-cmpr-hook.el	Sat Aug 25 14:03:30 2007 +0000
+++ b/lisp/jka-cmpr-hook.el	Sat Aug 25 14:04:34 2007 +0000
@@ -183,7 +183,7 @@
   ;;[regexp
   ;; compr-message  compr-prog  compr-args
   ;; uncomp-message uncomp-prog uncomp-args
-  ;; can-append auto-mode-flag strip-extension-flag file-magic-bytes]
+  ;; can-append strip-extension-flag file-magic-bytes]
   '(["\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'"
      "compressing"    "compress"     ("-c")
      "uncompressing"  "uncompress"   ("-c")
@@ -199,7 +199,7 @@
      "bzip2ing"        "bzip2"         nil
      "bunzip2ing"      "bzip2"         ("-d")
      nil nil "BZh"]
-    ["\\.tgz\\'"
+    ["\\.\\(?:tgz\\|svgz\\)\\'"
      "compressing"        "gzip"         ("-c" "-q")
      "uncompressing"      "gzip"         ("-c" "-q" "-d")
      t nil "\037\213"]