changeset 98477:6f4a17d53119

(jka-compr-compression-info-list) (jka-compr-mode-alist-additions): Also match `.tbz2'.
author Glenn Morris <rgm@gnu.org>
date Fri, 03 Oct 2008 07:19:22 +0000
parents cf237e746d8c
children 8f48b94490fe
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	Fri Oct 03 07:13:31 2008 +0000
+++ b/lisp/jka-cmpr-hook.el	Fri Oct 03 07:19:22 2008 +0000
@@ -207,7 +207,7 @@
      "bzip2ing"        "bzip2"         nil
      "bunzip2ing"      "bzip2"         ("-d")
      nil t "BZh"]
-    ["\\.tbz\\'"
+    ["\\.tbz2?\\'"
      "bzip2ing"        "bzip2"         nil
      "bunzip2ing"      "bzip2"         ("-d")
      nil nil "BZh"]
@@ -286,7 +286,7 @@
   :group 'jka-compr)
 
 (defcustom jka-compr-mode-alist-additions
-  (list (cons "\\.tgz\\'" 'tar-mode) (cons "\\.tbz\\'" 'tar-mode))
+  (list (cons "\\.tgz\\'" 'tar-mode) (cons "\\.tbz2?\\'" 'tar-mode))
   "List of pairs added to `auto-mode-alist' when installing jka-compr.
 Uninstalling jka-compr removes all pairs from `auto-mode-alist' that
 installing added.