aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/loadup.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 100c3f700d1..747476c5067 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -534,6 +534,10 @@ lost after dumping")))
534 (equal (nth 2 command-line-args) "loadup")) 534 (equal (nth 2 command-line-args) "loadup"))
535 (setcdr command-line-args (nthcdr 3 command-line-args))) 535 (setcdr command-line-args (nthcdr 3 command-line-args)))
536 536
537;; Don't keep `load-file-name' set during the top-level session!
538;; Otherwise, it breaks a lot of code which does things like
539;; (or load-file-name byte-compile-current-file).
540(setq load-file-name nil)
537(eval top-level) 541(eval top-level)
538 542
539 543