diff options
| author | Kenichi Handa | 2004-02-09 05:48:42 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-02-09 05:48:42 +0000 |
| commit | f73145c1739e41cdbd1ee0632da3351302510bbd (patch) | |
| tree | 6686c339e4d35540ac341b83e7cd7780f22136ec | |
| parent | fc4d69e139ccee1151c17f5f6b7f5b054c8bc8f5 (diff) | |
| download | emacs-f73145c1739e41cdbd1ee0632da3351302510bbd.tar.gz emacs-f73145c1739e41cdbd1ee0632da3351302510bbd.zip | |
(tar-extract): Fix for the case that a file doesn't have end-of-line.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/tar-mode.el | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index df600d17960..e8d74851d04 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-02-09 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * tar-mode.el (tar-extract): Fix for the case that a file doesn't | ||
| 4 | have end-of-line. | ||
| 5 | |||
| 1 | 2004-02-09 Martin Stjernholm <bug-cc-mode@gnu.org> | 6 | 2004-02-09 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 2 | 7 | ||
| 3 | * Makefile.in: Added extra dependencies in the recompile target | 8 | * Makefile.in: Added extra dependencies in the recompile target |
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index dccbb6f82df..0f0c22cabe1 100644 --- a/lisp/tar-mode.el +++ b/lisp/tar-mode.el | |||
| @@ -743,6 +743,7 @@ appear on disk when you save the tar-file's buffer." | |||
| 743 | (min (+ (point-min) 16384) (point-max)) t))) | 743 | (min (+ (point-min) 16384) (point-max)) t))) |
| 744 | (if coding | 744 | (if coding |
| 745 | (or (numberp (coding-system-eol-type coding)) | 745 | (or (numberp (coding-system-eol-type coding)) |
| 746 | (vectorp (coding-system-eol-type detected)) | ||
| 746 | (setq coding (coding-system-change-eol-conversion | 747 | (setq coding (coding-system-change-eol-conversion |
| 747 | coding | 748 | coding |
| 748 | (coding-system-eol-type detected)))) | 749 | (coding-system-eol-type detected)))) |