From: Richard M. Stallman Date: Fri, 5 Sep 1997 23:30:30 +0000 (+0000) Subject: (load-with-code-conversion): X-Git-Tag: emacs-20.1~180 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=77a619127dd6506ce4b0c93e8627bf2662919fb8;p=emacs.git (load-with-code-conversion): Don't bind enable-multibyte-characters; set it in the temp buffer. --- diff --git a/lisp/international/mule.el b/lisp/international/mule.el index 09a8bc7283b..104991bdcf7 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el @@ -49,13 +49,14 @@ Return t if file exists." ;; We can't use `generate-new-buffer' because files.el ;; is not yet loaded. (get-buffer-create (generate-new-buffer-name " *load*")))) - (enable-multibyte-characters t) (load-in-progress t)) (or nomessage (message "Loading %s..." file)) (unwind-protect (progn (save-excursion (set-buffer buffer) + ;; This is buffer-local. + (setq enable-multibyte-characters t) (insert-file-contents fullname) ;; We must set `buffer-file-name' for `eval-buffer' and ;; `load-history'.