changeset 75981:8c38d88e2bf3

(jka-compr-compression-info-list): Recognize backups of bz2 compressed files.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 17 Feb 2007 12:30:09 +0000
parents 3e576a251b39
children 91f1ac652e8d
files lisp/jka-cmpr-hook.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/jka-cmpr-hook.el	Sat Feb 17 12:03:01 2007 +0000
+++ b/lisp/jka-cmpr-hook.el	Sat Feb 17 12:30:09 2007 +0000
@@ -191,7 +191,7 @@
      ;; Formerly, these had an additional arg "-c", but that fails with
      ;; "Version 0.1pl2, 29-Aug-97." (RedHat 5.1 GNU/Linux) and
      ;; "Version 0.9.0b, 9-Sept-98".
-    ["\\.bz2\\'"
+    ["\\.bz2\\(~\\|\\.~[0-9]+~\\)?\\'"
      "bzip2ing"        "bzip2"         nil
      "bunzip2ing"      "bzip2"         ("-d")
      nil t "BZh"]