(tar-extract): Call find-operation-coding-system

with (FILENAME . BUFFER).
This commit is contained in:
Kenichi Handa 2006-05-26 04:47:25 +00:00
parent eb286ca8bb
commit b87f5fcce9

View file

@ -736,7 +736,8 @@ appear on disk when you save the tar-file's buffer."
(funcall set-auto-coding-function
name (- (point-max) (point)))))
(car (find-operation-coding-system
'insert-file-contents name t))))
'insert-file-contents
(cons name (current-buffer)) t))))
(multibyte enable-multibyte-characters)
(detected (detect-coding-region
(point-min)