X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/aaef169dc63c4b557374540756865991e1bf6305..29660eb7cb1ac6ec24d20521cce51c07d9ec5f75:/lisp/tar-mode.el diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index f24a91d414..a02fd1b2ba 100644 --- a/lisp/tar-mode.el +++ b/lisp/tar-mode.el @@ -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)