Mercurial > emacs
changeset 22903:77e68af369b1
(find-new-buffer-file-coding-system): When
inhibit-eol-conversion is non-nil and the buffer didn't already
set a fully-qualified coding system, force -unix eol-type.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 04 Aug 1998 10:27:45 +0000 |
parents | 18839ab53285 |
children | 37738fa8626a |
files | lisp/international/mule.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/international/mule.el Tue Aug 04 09:40:04 1998 +0000 +++ b/lisp/international/mule.el Tue Aug 04 10:27:45 1998 +0000 @@ -962,8 +962,9 @@ (setq found-eol (coding-system-eol-type coding)) (if (null (numberp found-eol)) - ;; But eol-type is not found. - (setq found-eol nil)) + ;; But eol-type is not found. + ;; If EOL conversions are inhibited, force unix eol-type. + (setq found-eol (if inhibit-eol-conversion 0))) (if (eq (coding-system-type coding) t) (setq found-coding 'undecided) (setq found-coding (coding-system-base coding)))