]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tar-mode.el (tar-extract): Call tar--try-jka-compr (bug#34251)
authorJuri Linkov <juri@linkov.net>
Sun, 3 Feb 2019 21:00:29 +0000 (23:00 +0200)
committerJuri Linkov <juri@linkov.net>
Sun, 3 Feb 2019 21:00:29 +0000 (23:00 +0200)
commit4633b0ef3ff7fc8ac013e4236edf782fb3cadfb4
tree86b978e4f2cd9f5fc9c6620a24b015856b004b0d
parentb32ac17c32486d8fce0fb9ecd5e09fe324448d3d
* lisp/tar-mode.el (tar-extract): Call tar--try-jka-compr (bug#34251)

* lisp/tar-mode.el (tar--try-jka-compr): New function copied from
archive-try-jka-compr.

* lisp/arc-mode.el (archive-try-jka-compr): Set buffer-multibyte to t
instead of let-binding coding-system-for-read to 'no-conversion.

* test/data/decompress/tg.tar.gz:
* test/data/decompress/zg.zip: New fixtures.

* test/lisp/arc-mode-tests.el (arc-mode-test-zip-extract-gz):
* test/lisp/tar-mode-tests.el (tar-mode-test-tar-extract-gz): New tests.

* test/lisp/vc/diff-mode-tests.el (diff-mode-test-font-lock)
(diff-mode-test-font-lock-syntax-one-line): Skip unless shell and
diff executables are found.
lisp/arc-mode.el
lisp/tar-mode.el
test/data/decompress/tg.tar.gz [new file with mode: 0644]
test/data/decompress/zg.zip [new file with mode: 0644]
test/lisp/arc-mode-tests.el
test/lisp/tar-mode-tests.el
test/lisp/vc/diff-mode-tests.el