Commit 95160594 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(tar-extract): Use `!' instead of `:' to construct

buffer-file-name (`:' is invalid in file names on Windows).
parent 2ba993db
......@@ -739,7 +739,8 @@ appear on disk when you save the tar-file's buffer."
(insert-buffer-substring tar-buffer start end)
(goto-char 0)
(setq buffer-file-name
(expand-file-name (concat tarname ":" name)))
;; `:' is not allowed on Windows
(expand-file-name (concat tarname "!" name)))
(setq buffer-file-truename
(abbreviate-file-name buffer-file-name))
;; Set the default-directory to the dir of the
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment