aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2006-06-09 02:18:00 +0000
committerKenichi Handa2006-06-09 02:18:00 +0000
commit8e71d059274f2e55de5f590f3f4dda094a6f7863 (patch)
tree787c93b35905dd7661f0cc54d2fa680247b72110
parent553b54ccb0a4eb3ecc2e286a1627376954f58ae4 (diff)
downloademacs-8e71d059274f2e55de5f590f3f4dda094a6f7863.tar.gz
emacs-8e71d059274f2e55de5f590f3f4dda094a6f7863.zip
(tar-extract): Sync with HEAD.
-rw-r--r--lisp/tar-mode.el5
1 files changed, 4 insertions, 1 deletions
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."
726 (setq coding (or coding-system-for-read 726 (setq coding (or coding-system-for-read
727 (and set-auto-coding-function 727 (and set-auto-coding-function
728 (funcall set-auto-coding-function 728 (funcall set-auto-coding-function
729 name (- end start))))) 729 name (- end start)))
730 (car (find-operation-coding-system
731 'insert-file-contents
732 (cons name (current-buffer)) t))))
730 (if (or (not coding) 733 (if (or (not coding)
731 (eq (coding-system-type coding) 'undecided)) 734 (eq (coding-system-type coding) 'undecided))
732 (setq coding (detect-coding-region start end t))) 735 (setq coding (detect-coding-region start end t)))