Mercurial > hg > xemacs-beta
diff lisp/code-files.el @ 1699:68169b2a743e
[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.
author | youngs |
---|---|
date | Fri, 19 Sep 2003 16:39:43 +0000 |
parents | 184461bc8de4 |
children | 5903b079bee1 |
line wrap: on
line diff
--- 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.