Mercurial > emacs
changeset 21850:96fc2ea42485
(tar-extract): Use `!' instead of `:' to construct
buffer-file-name (`:' is invalid in file names on Windows).
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 29 Apr 1998 22:15:59 +0000 |
parents | 96fd475a324d |
children | facde3a9a846 |
files | lisp/tar-mode.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/tar-mode.el Wed Apr 29 21:47:23 1998 +0000 +++ b/lisp/tar-mode.el Wed Apr 29 22:15:59 1998 +0000 @@ -739,7 +739,8 @@ (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