]> git.eshelyaron.com Git - emacs.git/commit
Fix visiting zip archives inside tar archives
authorEli Zaretskii <eliz@gnu.org>
Mon, 20 May 2024 12:29:39 +0000 (15:29 +0300)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 May 2024 08:28:04 +0000 (10:28 +0200)
commit448f64f80ad7e081c686c79bcc006b1657315491
tree64e15b21e4fd8239135dc71b7d67c8f6b7820368
parent491364d6e77ca3f7fca88502bc4d3f6cb63f07e1
Fix visiting zip archives inside tar archives

* lisp/tar-mode.el (tar-archive-from-tar): New local variable.
(tar-extract): Set it non-nil for an extracted member that happens
to be arc-mode archive.
* lisp/arc-mode.el (tar-archive-from-tar): Defvar it.
(archive-unique-fname): Make sure FNAME can be created in DIR,
even if FNAME is provided as an absolute file name (this happens
if the archive is a member of a Tar archive, for example).
(archive-extract): Set 'archive-remote' for archives that were
extracted from Tar archives.  (Bug#70987)

(cherry picked from commit 45916eadaed1b7f3a02df62a25bc851a838b6309)
lisp/arc-mode.el
lisp/tar-mode.el