tweak: use GUI dialogs on android

It's better UX on touch screens, at least.
This commit is contained in:
Henrik Lissner
2025-04-14 15:01:03 -04:00
parent a45ce1e14d
commit 6a44a2ea80

View File

@ -311,9 +311,9 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
(setq window-resize-pixelwise nil) (setq window-resize-pixelwise nil)
;; UX: GUIs are inconsistent across systems, desktop environments, and themes, ;; UX: GUIs are inconsistent across systems, desktop environments, and themes,
;; and don't match the look of Emacs. They also impose inconsistent shortcut ;; but more annoying than that are the inconsistent shortcut keys tied to
;; key paradigms. I'd rather Emacs be responsible for prompting. ;; them, so use Emacs instead of GUI popups.
(setq use-dialog-box nil) (setq use-dialog-box (not (featurep :system 'android))) ; Android dialogs are better UX
(when (bound-and-true-p tooltip-mode) (when (bound-and-true-p tooltip-mode)
(tooltip-mode -1)) (tooltip-mode -1))