# HG changeset patch # User youngs # Date 1063989583 0 # Node ID 68169b2a743e8046c8a744a6f9fe604b0a3d2030 # Parent 4b7295e5a412157e82f574d681132fff667c3e34 [xemacs-hg @ 2003-09-19 16:39:43 by youngs] * code-files.el (insert-file-contents): Make sure that setbuffer-file-coding-system sets the eol style. diff -r 4b7295e5a412 -r 68169b2a743e lisp/ChangeLog --- a/lisp/ChangeLog Fri Sep 19 16:32:57 2003 +0000 +++ b/lisp/ChangeLog Fri Sep 19 16:39:43 2003 +0000 @@ -3,6 +3,9 @@ * code-init.el (eol-detection-enabled-p): eval the initialization value. + * code-files.el (insert-file-contents): Make sure that + setbuffer-file-coding-system sets the eol style. + 2003-09-19 Stephen J. Turnbull * win32-native.el (grep-null-device): Defined in diff -r 4b7295e5a412 -r 68169b2a743e lisp/code-files.el --- a/lisp/code-files.el Fri Sep 19 16:32:57 2003 +0000 +++ b/lisp/code-files.el Fri Sep 19 16:39:43 2003 +0000 @@ -454,9 +454,9 @@ ;; set already. (set-buffer-file-coding-system (subsidiary-coding-system buffer-file-coding-system - (coding-system-eol-type coding-system))) + (coding-system-eol-type coding-system)) t) ;; otherwise actually set buffer-file-coding-system. - (set-buffer-file-coding-system coding-system))) + (set-buffer-file-coding-system coding-system t))) ;; ... and `buffer-file-coding-system-when-loaded'. the machinations ;; of set-buffer-file-coding-system cause the actual coding system ;; object to be stored, so do that here, too.