changeset 19802:2e277f643555

(load-with-code-conversion): Use third arg to eval-buffer and don't set buffer-file-name.
author Richard M. Stallman <rms@gnu.org>
date Sun, 07 Sep 1997 18:32:24 +0000
parents 7482ad23e430
children 7573e51f9c41
files lisp/international/mule.el
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule.el	Sun Sep 07 17:49:08 1997 +0000
+++ b/lisp/international/mule.el	Sun Sep 07 18:32:24 1997 +0000
@@ -58,13 +58,10 @@
 	      ;; 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'.
-	      (setq buffer-file-name file)
 	      ;; Make `kill-buffer' quiet.
 	      (set-buffer-modified-p nil))
 	    ;; Eval in the original buffer.
-	    (eval-buffer buffer))
+	    (eval-buffer buffer nil file))
 	(let (kill-buffer-hook kill-buffer-query-functions)
 	  (kill-buffer buffer)))
       (let ((hook (assoc file after-load-alist)))