Merge pull request #505 from bandresen/pr_ui-posframe

Fix: ui/posframe: grab :size from doom-font if no `ivy-posframe-font' is defined
This commit is contained in:
Henrik Lissner 2018-04-02 16:04:41 -04:00 committed by GitHub
commit 7ee4560c28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,11 +51,6 @@
ivy-fixed-height-minibuffer nil
ivy-posframe-parameters `((min-width . 90)
(min-height . ,ivy-height)
(internal-border-width . 10)))
(when (and (not ivy-posframe-font) doom-font)
(setq ivy-posframe-font
(font-spec :family (font-get doom-font :family)
:size 18))))
(internal-border-width . 10))))
;; TODO helm-posframe?