changeset 88978:32dd7c0ab007

(tar-extract): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Thu, 08 Aug 2002 13:04:00 +0000
parents 3b05c02eebf2
children 52c1682e6353
files lisp/tar-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tar-mode.el	Thu Aug 08 13:01:56 2002 +0000
+++ b/lisp/tar-mode.el	Thu Aug 08 13:04:00 2002 +0000
@@ -696,7 +696,7 @@
 	      (setq coding (or coding-system-for-read
 			       (and set-auto-coding-function
 				    (funcall set-auto-coding-function
-					     name (point-max)))))
+					     name (- end start)))))
 	      (if (or (not coding)
 		      (eq (coding-system-type coding) 'undecided))
 		  (setq coding (detect-coding-region start end t)))