From 195359cf993dbac00917e6ee9f3e77ede72de24a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 18 Sep 2022 10:36:00 +0200 Subject: [PATCH] fix: properly disable tooltip-mode In 4a25375, it seemed that only setting the variables to nil early enough would be sufficient, but this turned out not to be the case. There's no avoiding calling the mode to disable it. Ref: 58c0de6841be Amend: 4a253757cbad --- lisp/doom-ui.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/doom-ui.el b/lisp/doom-ui.el index c4a6ca1b1..e135c08b2 100644 --- a/lisp/doom-ui.el +++ b/lisp/doom-ui.el @@ -258,8 +258,9 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original ;; 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 - tooltip-mode nil) +(setq use-dialog-box nil) +(when (bound-and-true-p tooltip-mode) + (tooltip-mode -1)) ;; FIX: The native border "consumes" a pixel of the fringe on righter-most ;; splits, `window-divider' does not. Available since Emacs 25.1.