ui/posframe: fix wrong-type-argument error when doom-font is unset
This commit is contained in:
parent
9168dfd733
commit
9a247f4dc1
1 changed files with 4 additions and 2 deletions
|
@ -54,8 +54,10 @@
|
||||||
ivy-posframe-parameters `((min-width . 90)
|
ivy-posframe-parameters `((min-width . 90)
|
||||||
(min-height . ,ivy-height)
|
(min-height . ,ivy-height)
|
||||||
(internal-border-width . 10)))
|
(internal-border-width . 10)))
|
||||||
(unless ivy-posframe-font
|
(when (and (not ivy-posframe-font) doom-font)
|
||||||
(setq ivy-posframe-font (font-spec :family (font-get doom-font :family) :size 18))))
|
(setq ivy-posframe-font
|
||||||
|
(font-spec :family (font-get doom-font :family)
|
||||||
|
:size 18))))
|
||||||
|
|
||||||
|
|
||||||
;; TODO helm-posframe?
|
;; TODO helm-posframe?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue