1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07: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)))