Commit 6b9fa880 authored by Daniel Colascione's avatar Daniel Colascione

Make sure dump-mode is nil after dump

* lisp/loadup.el (dump-mode): Bind dump-mode to nil before dumping
parent 02976d67
Pipeline #536 failed with stage
in 48 minutes and 20 seconds
...@@ -488,8 +488,9 @@ lost after dumping"))) ...@@ -488,8 +488,9 @@ lost after dumping")))
;; same as invocation-directory. ;; same as invocation-directory.
(let (success) (let (success)
(unwind-protect (unwind-protect
(progn (let ((tmp-dump-mode dump-mode)
(if (member dump-mode '("pdump" "pbootstrap")) (dump-mode nil))
(if (member tmp-dump-mode '("pdump" "pbootstrap"))
(dump-emacs-portable (expand-file-name output invocation-directory)) (dump-emacs-portable (expand-file-name output invocation-directory))
(dump-emacs output "temacs") (dump-emacs output "temacs")
(message "%d pure bytes used" pure-bytes-used)) (message "%d pure bytes used" pure-bytes-used))
......
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