| 1 | Do not capture the build-time value of $PATH in the 'emacs' executable
|
| 2 | since this can noticeably increase the size of the closure of Emacs
|
| 3 | with things like GCC being referenced.
|
| 4 |
|
| 5 | Index: emacs-next/lisp/loadup.el
|
| 6 | ===================================================================
|
| 7 | |
| 8 | |
| 9 | @@ -599,7 +599,8 @@ lost after dumping")))
|
| 10 | ((equal dump-mode "dump") "emacs")
|
| 11 | ((equal dump-mode "bootstrap") "emacs")
|
| 12 | ((equal dump-mode "pbootstrap") "bootstrap-emacs.pdmp")
|
| 13 | - (t (error "Unrecognized dump mode %s" dump-mode)))))
|
| 14 | + (t (error "Unrecognized dump mode %s" dump-mode))))
|
| 15 | + (exec-path nil))
|
| 16 | (when (and (featurep 'native-compile)
|
| 17 | (equal dump-mode "pdump"))
|
| 18 | ;; Don't enable this before bootstrap is completed, as the
|