diff options
| -rw-r--r-- | lisp/tar-mode.el | 5 |
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))) |