projects/guix·blob ruby-team · refs

18 lines · 953 B

1Do not capture the build-time value of $PATH in the 'emacs' executable
2since this can noticeably increase the size of the closure of Emacs
3with things like GCC being referenced.
4
5Index: emacs-next/lisp/loadup.el
6===================================================================
7--- emacs-next.orig/lisp/loadup.el
8+++ emacs-next/lisp/loadup.el
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