:PROPERTIES:
:ID: 4420cd35-3101-4ee2-bc61-964e08b06174
:END:
-This file was introduced in Emacs 27. I use it for speeding up init, removing all the UI stuff I don't want, etc. Maybe superfluous, but I do get startup times on the order of /0.015/ seconds.
+This file was introduced in Emacs 27. I use it for speeding up init, removing all the UI stuff I don't want, etc. Maybe superfluous, but I do get startup times on the order of /0.015/ seconds. No longer superfluous, because this is where you set up the items needed for android emacs to play nice with termux - see [[https://sourceforge.net/projects/android-ports-for-gnu-emacs/files/termux][SourceForge]]
** The normal header
:PROPERTIES:
;; Code:
#+END_SRC
+** Android Setup
+:PROPERTIES:
+:ID: df50b909-93f9-4e98-981e-fdc396c28f28
+:END:
+#+BEGIN_SRC emacs-lisp :tangle ./early-init.el
+(when (equal system-type 'android)
+ (defvar termux-path "/data/data/com.termux/files/usr/bin")
+ (setenv "PATH" (format "%s:%s" termux-path
+ (getenv "PATH")))
+ (push termux-path exec-path))
+#+END_SRC
+
** GC thrashing
:PROPERTIES:
:ID: d95e3549-b3ad-4aeb-a229-739a871b6c4b