From: Kenichi Handa Date: Fri, 9 Jun 2006 02:18:00 +0000 (+0000) Subject: (tar-extract): Sync with HEAD. X-Git-Tag: emacs-pretest-23.0.90~8295^2~904 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8e71d059274f2e55de5f590f3f4dda094a6f7863;p=emacs.git (tar-extract): Sync with HEAD. --- diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index 60b2155adc3..024d7399ea9 100644 --- a/lisp/tar-mode.el +++ b/lisp/tar-mode.el @@ -726,7 +726,10 @@ 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 (- end start))))) + name (- end start))) + (car (find-operation-coding-system + 'insert-file-contents + (cons name (current-buffer)) t)))) (if (or (not coding) (eq (coding-system-type coding) 'undecided)) (setq coding (detect-coding-region start end t)))