From 143d27da42be9c23eea14950024a6e72f9f36326 Mon Sep 17 00:00:00 2001 From: rearman Date: Thu, 11 Jun 2026 11:21:38 -0400 Subject: [PATCH] Allow menu bars, etc on android --- config.org | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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" -- 2.39.5