From: Richard M. Stallman Date: Sun, 23 Oct 2005 18:24:00 +0000 (+0000) Subject: (load-with-code-conversion): X-Git-Tag: emacs-pretest-22.0.90~6377 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=01ae35c122edd68c047b5069d99f42f3bb6f41e2;p=emacs.git (load-with-code-conversion): Pass full file name to `eval-buffer' unless preloading. --- diff --git a/lisp/international/mule.el b/lisp/international/mule.el index a4a1ca76e2c..8283940bd2d 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el @@ -85,7 +85,9 @@ Return t if file exists." ;; Make `kill-buffer' quiet. (set-buffer-modified-p nil)) ;; Have the original buffer current while we eval. - (eval-buffer buffer nil file + (eval-buffer buffer nil + ;; This is compatible with what `load' does. + (if purify-flag file fullname) ;; If this Emacs is running with --unibyte, ;; convert multibyte strings to unibyte ;; after reading them.