]> code.delx.au - gnu-emacs/blobdiff - lisp/tar-mode.el
(ido-enable-prefix): Improve previous doc fix.
[gnu-emacs] / lisp / tar-mode.el
index f24a91d4145852b870bb4ee3da609786cd473678..a02fd1b2ba948bdae45fca97972f7fe5d9cef4f8 100644 (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)