changeset 70945:1af74e601432

(tar-extract): Call find-operation-coding-system with (FILENAME . BUFFER).
author Kenichi Handa <handa@m17n.org>
date Fri, 26 May 2006 04:47:25 +0000
parents 2e73c646b9df
children f3c65e2e68b3
files lisp/tar-mode.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tar-mode.el	Fri May 26 04:47:16 2006 +0000
+++ b/lisp/tar-mode.el	Fri May 26 04:47:25 2006 +0000
@@ -736,7 +736,8 @@
 				    (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)