diff options
| author | Ulrich Müller | 2013-02-20 09:30:23 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-02-20 09:30:23 -0500 |
| commit | 3bf1099fe6bd6a17af65d9088817ba31c6fa47f4 (patch) | |
| tree | c3d3620bcdfa6799c8cfe18a3c56bfeb83521018 | |
| parent | d8d2d18a7d85663f42d9d6f9859079e629428913 (diff) | |
| download | emacs-3bf1099fe6bd6a17af65d9088817ba31c6fa47f4.tar.gz emacs-3bf1099fe6bd6a17af65d9088817ba31c6fa47f4.zip | |
* lisp/jka-cmpr-hook.el (jka-compr-compression-info-list)
(jka-compr-mode-alist-additions): Handle .txz suffix for
XZ-compressed tar archives.
Fixes: debbugs:13770
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/jka-cmpr-hook.el | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c9568981b6a..0a1e93ac19c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,7 +1,13 @@ | |||
| 1 | 2013-02-20 Ulrich Müller <ulm@gentoo.org> | ||
| 2 | |||
| 3 | * jka-cmpr-hook.el (jka-compr-compression-info-list) | ||
| 4 | (jka-compr-mode-alist-additions): Handle .txz suffix for | ||
| 5 | XZ-compressed tar archives (bug#13770). | ||
| 6 | |||
| 1 | 2013-02-20 Bastien Guerry <bzg@gnu.org> | 7 | 2013-02-20 Bastien Guerry <bzg@gnu.org> |
| 2 | 8 | ||
| 3 | * outline.el (outline-regexp, outline-heading-end-regexp): Make | 9 | * outline.el (outline-regexp, outline-heading-end-regexp): |
| 4 | variables, not options (bug#13731). | 10 | Make variables, not options (bug#13731). |
| 5 | 11 | ||
| 6 | 2013-02-20 Glenn Morris <rgm@gnu.org> | 12 | 2013-02-20 Glenn Morris <rgm@gnu.org> |
| 7 | 13 | ||
diff --git a/lisp/jka-cmpr-hook.el b/lisp/jka-cmpr-hook.el index 7b36f7c1214..851bceccf30 100644 --- a/lisp/jka-cmpr-hook.el +++ b/lisp/jka-cmpr-hook.el | |||
| @@ -234,6 +234,10 @@ options through Custom does this automatically." | |||
| 234 | "XZ compressing" "xz" ("-c" "-q") | 234 | "XZ compressing" "xz" ("-c" "-q") |
| 235 | "XZ uncompressing" "xz" ("-c" "-q" "-d") | 235 | "XZ uncompressing" "xz" ("-c" "-q" "-d") |
| 236 | t t "\3757zXZ\0"] | 236 | t t "\3757zXZ\0"] |
| 237 | ["\\.txz\\'" | ||
| 238 | "XZ compressing" "xz" ("-c" "-q") | ||
| 239 | "XZ uncompressing" "xz" ("-c" "-q" "-d") | ||
| 240 | t nil "\3757zXZ\0"] | ||
| 237 | ;; dzip is gzip with random access. Its compression program can't | 241 | ;; dzip is gzip with random access. Its compression program can't |
| 238 | ;; read/write stdin/out, so .dz files can only be viewed without | 242 | ;; read/write stdin/out, so .dz files can only be viewed without |
| 239 | ;; saving, having their contents decompressed with gzip. | 243 | ;; saving, having their contents decompressed with gzip. |
| @@ -302,7 +306,9 @@ variables. Setting this through Custom does that automatically." | |||
| 302 | :group 'jka-compr) | 306 | :group 'jka-compr) |
| 303 | 307 | ||
| 304 | (defcustom jka-compr-mode-alist-additions | 308 | (defcustom jka-compr-mode-alist-additions |
| 305 | (list (cons (purecopy "\\.tgz\\'") 'tar-mode) (cons (purecopy "\\.tbz2?\\'") 'tar-mode)) | 309 | (purecopy '(("\\.tgz\\'" . tar-mode) |
| 310 | ("\\.tbz2?\\'" . tar-mode) | ||
| 311 | ("\\.txz\\'" . 'tar-mode))) | ||
| 306 | "List of pairs added to `auto-mode-alist' when installing jka-compr. | 312 | "List of pairs added to `auto-mode-alist' when installing jka-compr. |
| 307 | Uninstalling jka-compr removes all pairs from `auto-mode-alist' that | 313 | Uninstalling jka-compr removes all pairs from `auto-mode-alist' that |
| 308 | installing added. | 314 | installing added. |
| @@ -315,7 +321,7 @@ variables. Setting this through Custom does that automatically." | |||
| 315 | :set 'jka-compr-set | 321 | :set 'jka-compr-set |
| 316 | :group 'jka-compr) | 322 | :group 'jka-compr) |
| 317 | 323 | ||
| 318 | (defcustom jka-compr-load-suffixes (list (purecopy ".gz")) | 324 | (defcustom jka-compr-load-suffixes (purecopy '(".gz")) |
| 319 | "List of compression related suffixes to try when loading files. | 325 | "List of compression related suffixes to try when loading files. |
| 320 | Enabling Auto Compression mode appends this list to `load-file-rep-suffixes', | 326 | Enabling Auto Compression mode appends this list to `load-file-rep-suffixes', |
| 321 | which see. Disabling Auto Compression mode removes all suffixes | 327 | which see. Disabling Auto Compression mode removes all suffixes |