From: rearman Date: Thu, 11 Jun 2026 15:21:38 +0000 (-0400) Subject: Allow menu bars, etc on android X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=143d27da42be9c23eea14950024a6e72f9f36326;p=emacsinit.git Allow menu bars, etc on android --- diff --git a/config.org b/config.org index e0f1fd0..8f20895 100644 --- a/config.org +++ b/config.org @@ -22,9 +22,6 @@ Set up the correct lexical binding to avoid screaming compiler (interactive) (when buffer-file-name (find-alternate-file (concat "/sudo:root@localhost:" buffer-file-name))))) - -(when (equal system-type 'android) - (modifier-bar-mode 1)) #+END_SRC * Packages ** Add melpa, and reduce the declarations by setting defaults @@ -1002,8 +999,11 @@ Stolen from https://www.masteringemacs.org/article/fixing-mark-commands-transien * GUI #+BEGIN_SRC emacs-lisp (load-theme 'eng-paper t) -(menu-bar-mode -1) -(tool-bar-mode -1) + +(if (equal system-type 'android) + (modifier-bar-mode 1) + (progn (menu-bar-mode -1) + (tool-bar-mode -1))) (set-scroll-bar-mode (if (eq system-type 'windows-nt) nil 'left)) (setq frame-title-format "%b"