mailutils: update to 3.18
[oi-userland.git] / components / editor / emacs / patches / 05-exec-path.patch
blobfcd3641cbffc8b3dfbb514437bacd8b1e799ba54
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.
5 --- emacs-28.1/lisp/loadup.el.orig 2022-03-11 08:04:21.000000000 +0000
6 +++ emacs-28.1/lisp/loadup.el 2022-04-05 10:53:11.567773405 +0000
7 @@ -530,7 +530,8 @@
8 ((equal dump-mode "dump") "emacs")
9 ((equal dump-mode "bootstrap") "emacs")
10 ((equal dump-mode "pbootstrap") "bootstrap-emacs.pdmp")
11 - (t (error "Unrecognized dump mode %s" dump-mode)))))
12 + (t (error "unrecognized dump mode %s" dump-mode))))
13 + (exec-path nil))
14 (when (and (featurep 'native-compile)
15 (equal dump-mode "pdump"))
16 ;; Don't enable this before bootstrap is completed, as the