Coding system fix for tar-untar-buffer (Bug#8870).

* lisp/tar-mode.el (tar-untar-buffer): Set coding-system-for-write
to no-conversion.
This commit is contained in:
Jambunathan K
2011-06-27 17:12:17 -04:00
committed by Chong Yidong
parent d615d6d288
commit 36c9fa271d
2 changed files with 15 additions and 1 deletions

View File

@@ -1,3 +1,16 @@
2011-06-27 Jambunathan K <kjambunathan@gmail.com>
* tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
no-conversion (Bug#8870).
2011-06-27 Chong Yidong <cyd@stupidchicken.com>
* mouse.el: Rebind mouse-2 to mouse-yank-at-click; use an option
for primary insertion. Suggested by David De La Harpe Golden.
(mouse-yank-primary): New option.
(mouse-yank-at-click): Obey it.
(mouse-yank-primary): Call mouse-yank-at-click.
2011-06-27 Martin Rudalics <rudalics@gmx.at>
* window.el (window-right, window-left, window-child)

View File

@@ -474,7 +474,8 @@ MODE should be an integer which is a file mode value."
(if (and dir (not (file-exists-p dir)))
(make-directory dir t))
(unless (file-directory-p name)
(write-region start end name))
(let ((coding-system-for-write 'no-conversion))
(write-region start end name)))
(set-file-modes name (tar-header-mode descriptor))))))))
(defun tar-summarize-buffer ()