From 6a44a2ea80a7321e998394a5b1b0245af7821f62 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 14 Apr 2025 15:01:03 -0400 Subject: [PATCH] tweak: use GUI dialogs on android It's better UX on touch screens, at least. --- lisp/doom-ui.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/doom-ui.el b/lisp/doom-ui.el index 31f7ad3f8..cf9cab049 100644 --- a/lisp/doom-ui.el +++ b/lisp/doom-ui.el @@ -311,9 +311,9 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original (setq window-resize-pixelwise nil) ;; UX: GUIs are inconsistent across systems, desktop environments, and themes, -;; and don't match the look of Emacs. They also impose inconsistent shortcut -;; key paradigms. I'd rather Emacs be responsible for prompting. -(setq use-dialog-box nil) +;; but more annoying than that are the inconsistent shortcut keys tied to +;; them, so use Emacs instead of GUI popups. +(setq use-dialog-box (not (featurep :system 'android))) ; Android dialogs are better UX (when (bound-and-true-p tooltip-mode) (tooltip-mode -1))