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:
parent
682ab5d92a
commit
ce085f1d61
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue