summaryrefslogtreecommitdiff
path: root/lisp/tar-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/tar-mode.el')
-rw-r--r--lisp/tar-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index bbf4774fd72..8fade4c6768 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -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)))