emacs: Patch for the load-history problem (#433)
Closes termux/termux-packages#423
This commit is contained in:
parent
2080a2ae0c
commit
51fb4b0d1d
16
packages/emacs/lisp-loadup.el-2.patch.beforehostbuild
Normal file
16
packages/emacs/lisp-loadup.el-2.patch.beforehostbuild
Normal file
@ -0,0 +1,16 @@
|
||||
diff -u -r ../emacs-25.0.92/lisp/loadup.el ./lisp/loadup.el
|
||||
--- ../emacs-25.0.92/lisp/loadup.el 2016-09-06 09:49:51.838175278 +0300
|
||||
+++ ./lisp/loadup.el 2016-09-06 09:57:18.694585441 +0300
|
||||
@@ -378,7 +378,11 @@
|
||||
(message "Warning: Change in load-path due to site-init will be \
|
||||
lost after dumping")))
|
||||
|
||||
-(setq current-load-list nil)
|
||||
+;; On an emacs that runs undumped, i.e. Android, this causes bogus
|
||||
+;; entries to appear in load-history. Commenting this out causes an entry
|
||||
+;; for loadup.el with a bogus filename to appear instead, but since it
|
||||
+;; neither provides nor requires anything, it appears to be safe.
|
||||
+;;(setq current-load-list nil)
|
||||
;; Avoid storing references to build directory in the binary.
|
||||
(setq custom-current-group-alist nil)
|
||||
|
Loading…
Reference in New Issue
Block a user