mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -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)
|
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?
|
||||||
|
Reference in New Issue
Block a user