aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/emacs27-exec-path.patch
blob: 418aa633a1f71a47d9b9af9dd3eadd491f33f039 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.

(like emacs-exec-path.patch, but for Emacs 27)

--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -479,7 +479,8 @@ lost after dumping")))
                         ((equal dump-mode "dump") "emacs")
                         ((equal dump-mode "bootstrap") "emacs")
                         ((equal dump-mode "pbootstrap") "bootstrap-emacs.pdmp")
-                        (t (error "unrecognized dump mode %s" dump-mode)))))
+                        (t (error "unrecognized dump mode %s" dump-mode))))
+          (exec-path nil))
       (message "Dumping under the name %s" output)
       (condition-case ()
           (delete-file output)
aner: Don't use unstable tarball....* gnu/packages/flashing-tools.scm (me-cleaner)[source]: Download using git-fetch. Efraim Flashner 2019-11-20gnu: heimdall: Download from new upstream source....* gnu/packages/flashing-tools.scm (heimdall)[source]: Download from new upstream source. Efraim Flashner 2019-11-20gnu: heimdall: Don't use unstable tarball....* gnu/packages/flashing-tools.scm (heimdall)[source]: Download using git-fetch. [home-page]: Use https. Efraim Flashner 2019-11-20gnu: teensy-loader-cli: Don't use unstable tarball....* gnu/packages/flashing-tools.scm (teensy-loader-cli)[version]: Use git-version. [source]: Download using git-fetch. Efraim Flashner 2019-10-08gnu: me-cleaner: Update to 1.2....* gnu/packages/flashing-tools.scm (me-cleaner): Update to 1.2. [arguments]: Remove ‘create-setup.py’ phase. Add ‘install-documentation’ phase. Tobias Geerinckx-Rice 2019-07-15gnu: rkflashtool: Update to 5.2-1.8966c4e....* gnu/packages/flashing-tools.scm (rkflashtool): Update to 5.2-1.8966c4e. [version]: Use 'git-version'. [source]: Use 'git-file-name'. Efraim Flashner 2019-06-29gnu: flashrom: Update to 1.1....* gnu/packages/flashing-tools.scm (flashrom): Update to 1.1. Tobias Geerinckx-Rice 2019-04-16gnu: avrdude: Use @acronym{} mark-up....* gnu/packages/flashing-tools.scm (avrdude)[description]: Use it. Tobias Geerinckx-Rice 2019-04-16gnu: avrdude: Update to 6.3....* gnu/packages/flashing-tools.scm (avrdude): Update to 6.3. Tobias Geerinckx-Rice 2019-04-05gnu: flashrom: Update to 1.0.1....* gnu/packages/flashing-tools.scm (flashrom): Update to 1.0.1. [arguments]: Remove CFLAGS work-around. Tobias Geerinckx-Rice