changeset 53896:349fc0d0c8e8

(tar-extract): Fix for the case that a file doesn't have end-of-line.
author Kenichi Handa <handa@m17n.org>
date Mon, 09 Feb 2004 05:47:32 +0000
parents 522c584a7e2d
children 695925d8ff29
files lisp/tar-mode.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tar-mode.el	Mon Feb 09 00:56:25 2004 +0000
+++ b/lisp/tar-mode.el	Mon Feb 09 05:47:32 2004 +0000
@@ -743,6 +743,7 @@
 				 (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))))