Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
95160594
Commit
95160594
authored
Apr 29, 1998
by
Richard M. Stallman
Browse files
(tar-extract): Use `!' instead of `:' to construct
buffer-file-name (`:' is invalid in file names on Windows).
parent
2ba993db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/tar-mode.el
lisp/tar-mode.el
+2
-1
No files found.
lisp/tar-mode.el
View file @
95160594
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment