1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

(tar-copy): Supply MUSTBENEW arg to write-region.

This commit is contained in:
Dave Love 2000-06-09 14:19:34 +00:00
parent 7629905050
commit 5ee42746ce
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2000-06-09 Dave Love <fx@gnu.org>
* tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
* executable.el: Byte compile dynamic.
(executable-insert): Change custom type.
(executable-find): Add autoload cookie.

View File

@ -834,7 +834,7 @@ the current tar-entry."
(unwind-protect
(let ((coding-system-for-write 'no-conversion))
(set-buffer-multibyte nil)
(write-region start end to-file))
(write-region start end to-file nil nil nil t))
(set-buffer-multibyte multibyte)))
(message "Copied tar entry %s to %s" name to-file)))