Still not quite ready for prime-time on android. File access issues are the
most annoying, leading to having to either manually copy configs or run in
term mode from termux.
;; Code:
-(when (equal system-type 'android)
- (setenv "PATH"
- (format "%s:%s"
- "/data/data/com.termux/files/usr/bin"
- (getenv "PATH")))
- (push "/data/data/com.termux/files/usr/bin" exec-path))
-
(setq gc-cons-threshold most-positive-fixnum
gc-cons-percentage 0.6)
(setq bookmark-save-flag 1)
\f
;; GUI Settings
-(if (equal system-type 'android)
- (progn
- (menu-bar-mode t)
- (tool-bar-mode t)
- (modifier-bar-mode t)
- (setopt tool-bar-position 'bottom)
- (setq initial-buffer-choice (lambda () (org-agenda nil "a")))
- (set-frame-font "-AX86-Terminus (TTF)-medium-normal-*-45-*-*-*-m-0-iso10646-1"))
- (progn
- (menu-bar-mode -1)
- (tool-bar-mode -1)
- (setq initial-buffer-choice 'recentf-open-files)
- (set-scroll-bar-mode 'left)))
+(menu-bar-mode -1)
+(tool-bar-mode -1)
+(setq initial-buffer-choice 'recentf-open-files)
+(set-scroll-bar-mode 'left)
(setq frame-title-format "%b"
mouse-prefer-closest-glyph t