Commit ce085f1d authored by Stefan Monnier's avatar Stefan Monnier

* lisp/loadup.el (load-file-name): Set back to nil

parent 682ab5d9
Pipeline #623 passed with stage
in 50 minutes and 44 seconds
......@@ -534,6 +534,10 @@ lost after dumping")))
(equal (nth 2 command-line-args) "loadup"))
(setcdr command-line-args (nthcdr 3 command-line-args)))
;; Don't keep `load-file-name' set during the top-level session!
;; Otherwise, it breaks a lot of code which does things like
;; (or load-file-name byte-compile-current-file).
(setq load-file-name nil)
(eval top-level)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment