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:
parent
7629905050
commit
5ee42746ce
2 changed files with 3 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue