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: 58c0de6841
Amend: 4a253757cb
This commit is contained in:
Henrik Lissner 2022-09-18 10:36:00 +02:00
parent 9d52ba2747
commit 195359cf99
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -258,8 +258,9 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
;; 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 ;; and don't match the look of Emacs. They also impose inconsistent shortcut
;; key paradigms. I'd rather Emacs be responsible for prompting. ;; key paradigms. I'd rather Emacs be responsible for prompting.
(setq use-dialog-box nil (setq use-dialog-box nil)
tooltip-mode nil) (when (bound-and-true-p tooltip-mode)
(tooltip-mode -1))
;; FIX: The native border "consumes" a pixel of the fringe on righter-most ;; FIX: The native border "consumes" a pixel of the fringe on righter-most
;; splits, `window-divider' does not. Available since Emacs 25.1. ;; splits, `window-divider' does not. Available since Emacs 25.1.