# HG changeset patch # User Kenichi Handa # Date 1076305652 0 # Node ID 349fc0d0c8e88440ba49d1d2ba80505bd3b90cc1 # Parent 522c584a7e2db2b5ea6a1bd802d19ea20a24e78e (tar-extract): Fix for the case that a file doesn't have end-of-line. diff -r 522c584a7e2d -r 349fc0d0c8e8 lisp/tar-mode.el --- 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))))