diff options
| -rw-r--r-- | lisp/international/mule.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index 2de253aa92d..d6ea0b46197 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -962,8 +962,9 @@ Return nil if there's no need of setting new buffer-file-coding-system." | |||
| 962 | 962 | ||
| 963 | (setq found-eol (coding-system-eol-type coding)) | 963 | (setq found-eol (coding-system-eol-type coding)) |
| 964 | (if (null (numberp found-eol)) | 964 | (if (null (numberp found-eol)) |
| 965 | ;; But eol-type is not found. | 965 | ;; But eol-type is not found. |
| 966 | (setq found-eol nil)) | 966 | ;; If EOL conversions are inhibited, force unix eol-type. |
| 967 | (setq found-eol (if inhibit-eol-conversion 0))) | ||
| 967 | (if (eq (coding-system-type coding) t) | 968 | (if (eq (coding-system-type coding) t) |
| 968 | (setq found-coding 'undecided) | 969 | (setq found-coding 'undecided) |
| 969 | (setq found-coding (coding-system-base coding))) | 970 | (setq found-coding (coding-system-base coding))) |