summaryrefslogtreecommitdiff
path: root/lisp/tar-mode.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2004-02-09 05:48:42 +0000
committerKenichi Handa <handa@m17n.org>2004-02-09 05:48:42 +0000
commitf73145c1739e41cdbd1ee0632da3351302510bbd (patch)
tree6686c339e4d35540ac341b83e7cd7780f22136ec /lisp/tar-mode.el
parentfc4d69e139ccee1151c17f5f6b7f5b054c8bc8f5 (diff)
downloademacs-f73145c1739e41cdbd1ee0632da3351302510bbd.tar.gz
(tar-extract): Fix for the case that a file doesn't have end-of-line.
Diffstat (limited to 'lisp/tar-mode.el')
-rw-r--r--lisp/tar-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index dccbb6f82df..0f0c22cabe1 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -743,6 +743,7 @@ appear on disk when you save the tar-file's buffer."
(min (+ (point-min) 16384) (point-max)) t)))
(if coding
(or (numberp (coding-system-eol-type coding))
+ (vectorp (coding-system-eol-type detected))
(setq coding (coding-system-change-eol-conversion
coding
(coding-system-eol-type detected))))