1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 18:10:47 +02:00
guix/gnu/packages/patches/emacs-next-exec-path.patch
Morgan Smith d31dbb79b1
gnu: emacs-next: Update to 31.0.50-0.60232a3.
* gnu/packages/emacs.scm (emacs-next-minimal): Update to 31.0.50-0.60232a3.
* gnu/packages/patches/emacs-next-exec-path.patch: Regenerate.
* gnu/packages/patches/emacs-next-native-comp-fix-filenames.patch: Regenerate.
* gnu/packages/patches/emacs-next-native-comp-driver-options.patch: Delete.
* gnu/local.mk: Remove deleted patch.

Change-Id: Id89d7445a978566139b7c0a7d15f8c5eac2d111e
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-06-15 16:56:44 +02:00

18 lines
902 B
Diff

Do not capture the build-time value of $PATH in the 'emacs' executable
since this can noticeably increase the size of the closure of Emacs
with things like GCC being referenced.
Index: emacs/lisp/loadup.el
===================================================================
--- emacs.orig/lisp/loadup.el
+++ emacs/lisp/loadup.el
@@ -603,7 +603,8 @@ directory got moved. This is set to be
(if (eq system-type 'ms-dos)
"b-emacs.pdmp"
"bootstrap-emacs.pdmp"))
- (t (error "Unrecognized dump mode %s" dump-mode)))))
+ (t (error "Unrecognized dump mode %s" dump-mode))))
+ (exec-path nil))
(when (and (featurep 'native-compile)
(equal dump-mode "pdump"))
;; Don't enable this before bootstrap is completed, as the