1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(tar-extract): Fix previous change.

This commit is contained in:
Kenichi Handa 2002-08-08 13:04:00 +00:00
parent c6fb6e9828
commit d7209fd558

View file

@ -696,7 +696,7 @@ appear on disk when you save the tar-file's buffer."
(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)))