chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / emacs / lisp-loadup.el.patch.beforehostbuild
1 diff -u -r ../emacs-25.0.92/lisp/loadup.el ./lisp/loadup.el
2 --- ../emacs-25.0.92/lisp/loadup.el     2016-03-02 05:21:42.000000000 -0500
3 +++ ./lisp/loadup.el    2016-03-31 18:41:25.609790054 -0400
4 @@ -69,7 +73,8 @@
5  
6  ;; Prevent build-time PATH getting stored in the binary.
7  ;; Mainly cosmetic, but helpful for Guix.  (Bug#20330)
8 -(setq exec-path nil)
9 +;; Termux patch: Keep exec-path when running undumped:
10 +;; (setq exec-path nil)
11  
12  (if (eq t purify-flag)
13      ;; Hash consing saved around 11% of pure space in my tests.