* arc-mode.el (archive-unique-fname): Make directories for nested

archives.  (Bug#5540)
This commit is contained in:
Juri Linkov 2010-02-12 21:35:45 +02:00
parent 918fe50f30
commit f5952338f4
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2010-02-12 Juri Linkov <juri@jurta.org>
* arc-mode.el (archive-unique-fname): Make directories for nested
archives. (Bug#5540)
2010-02-12 Juri Linkov <juri@jurta.org>
* ffap.el (dired-at-point): Fix docstring. (Bug#5565)

View file

@ -834,6 +834,11 @@ using `make-temp-file', and the generated name is returned."
;; reconstructed in the temporary directory.
(make-directory (file-name-directory tmpfile) t)
(make-temp-file tmpfile))
;; Maked sure all the leading directories in `fullname' exist
;; under archive-tmpdir. This is necessary for nested archives
;; (`archive-extract' sets `archive-remote' to t in case
;; an archive occurs inside another archive).
(make-directory (file-name-directory fullname) t)
fullname)))
(defun archive-maybe-copy (archive)