]> git.earman.xyz Git - emacsinit.git/commitdiff
Get rid of android stuff
authorrearman <rearman@r717.net>
Thu, 19 Mar 2026 14:35:23 +0000 (10:35 -0400)
committerrearman <rearman@r717.net>
Thu, 19 Mar 2026 14:35:23 +0000 (10:35 -0400)
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.

early-init.el
init.el

index a8e498b5c2928313f71740396c1fbb2c5d144747..cd25d1e3c309d1ea9a43d80d183c8b9616fef35a 100644 (file)
@@ -4,13 +4,6 @@
 
 ;; 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)
 
diff --git a/init.el b/init.el
index 375745e0d8b19a1183d6eb04fae412af6cb0b5aa..232df45f81898a1700e1558b79c2b25cf14aab9b 100644 (file)
--- a/init.el
+++ b/init.el
 (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