mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/posframe: fix wrong-type-argument error when doom-font is unset
This commit is contained in:
@ -54,8 +54,10 @@
|
||||
ivy-posframe-parameters `((min-width . 90)
|
||||
(min-height . ,ivy-height)
|
||||
(internal-border-width . 10)))
|
||||
(unless ivy-posframe-font
|
||||
(setq ivy-posframe-font (font-spec :family (font-get doom-font :family) :size 18))))
|
||||
(when (and (not ivy-posframe-font) doom-font)
|
||||
(setq ivy-posframe-font
|
||||
(font-spec :family (font-get doom-font :family)
|
||||
:size 18))))
|
||||
|
||||
|
||||
;; TODO helm-posframe?
|
||||
|
Reference in New Issue
Block a user