mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tweak: use GUI dialogs on android
It's better UX on touch screens, at least.
This commit is contained in:
@ -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))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user