# HG changeset patch # User Eli Zaretskii # Date 902226465 0 # Node ID 77e68af369b166a484eb291510d2799898909647 # Parent 18839ab5328559cf7a518398d5cf047e92cf0a01 (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. diff -r 18839ab53285 -r 77e68af369b1 lisp/international/mule.el --- 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)))