1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

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

This commit is contained in:
Stefan Monnier 2019-01-25 16:15:22 -05:00
parent 682ab5d92a
commit ce085f1d61

View file

@ -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)