Browse Source

emacs: Patch for the load-history problem (#433)

Closes termux/termux-packages#423
android-5
Eugene Medvedev 8 years ago
committed by Fredrik Fornwall
parent
commit
51fb4b0d1d
  1. 16
      packages/emacs/lisp-loadup.el-2.patch.beforehostbuild

16
packages/emacs/lisp-loadup.el-2.patch.beforehostbuild

@ -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…
Cancel
Save