Don't overwrite ivy-height for ivy-posframe

This would undo user's customizations to this variable.
This commit is contained in:
Henrik Lissner 2018-06-05 11:20:39 +02:00
parent 1ef581d376
commit d24807cc2c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -191,8 +191,7 @@ immediately runs it on the current candidate (ending the ivy session)."
;; wasteful, so... ;; wasteful, so...
(advice-add #'ivy-posframe-setup :override #'ignore) (advice-add #'ivy-posframe-setup :override #'ignore)
:config :config
(setq ivy-height 16 (setq ivy-fixed-height-minibuffer nil
ivy-fixed-height-minibuffer nil
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)))