Skip to content

Commit

Permalink
tweak(core): setup tooltip font in +setup-fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Feb 26, 2024
1 parent 9fc6b46 commit d4b608d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/me-lib.el
Original file line number Diff line number Diff line change
Expand Up @@ -2270,6 +2270,11 @@ scaling factor for the font in Emacs' `face-font-rescale-alist'. See the
(reverse
(mapcar (lambda (k) (intern (substring (symbol-name k) 1)))
(+plist-keys minemacs-fonts-plist))))

;; Set the tooltip font accordingly
(when-let ((font (car (fontset-list))))
(setq tooltip-frame-parameters (+alist-set 'font font tooltip-frame-parameters)))

;; Run hooks
(run-hooks 'minemacs-after-setup-fonts-hook))

Expand Down

0 comments on commit d4b608d

Please sign in to comment.