# HG changeset patch # User Richard M. Stallman # Date 893366669 0 # Node ID 375190ad5062d51856d2671220ddf356c1dbb245 # Parent 12a826a3724911668267dab23f9aeff5ae5e27e6 (byte-compile-file): Always read the file in multibyte mode unless the file itself specifies unibyte mode. diff -r 12a826a37249 -r 375190ad5062 lisp/emacs-lisp/bytecomp.el --- a/lisp/emacs-lisp/bytecomp.el Thu Apr 23 21:22:51 1998 +0000 +++ b/lisp/emacs-lisp/bytecomp.el Thu Apr 23 21:24:29 1998 +0000 @@ -9,7 +9,7 @@ ;;; This version incorporates changes up to version 2.10 of the ;;; Zawinski-Furuseth compiler. -(defconst byte-compile-version "$Revision: 2.39 $") +(defconst byte-compile-version "$Revision: 2.40 $") ;; This file is part of GNU Emacs. @@ -1282,6 +1282,9 @@ (setq input-buffer (get-buffer-create " *Compiler Input*")) (set-buffer input-buffer) (erase-buffer) + ;; Always compile an Emacs Lisp file as multibyte + ;; unless the file itself forces unibyte with -*-coding: raw-text;-*-x + (set-buffer-multibyte t) (insert-file-contents filename) ;; Run hooks including the uncompression hook. ;; If they change the file name, then change it for the output also.