Skip to content

Commit

Permalink
ivy.el (ivy--minibuffer-setup): Fix ivy-fixed-height-minibuffer for i…
Browse files Browse the repository at this point in the history
…nline

Fixes #997
  • Loading branch information
abo-abo committed May 11, 2017
1 parent 1e93546 commit 7b437a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ivy.el
Expand Up @@ -2147,7 +2147,8 @@ depending on the number of candidates."
(when (display-graphic-p)
(setq truncate-lines t))
(setq-local max-mini-window-height ivy-height)
(when ivy-fixed-height-minibuffer
(when (and ivy-fixed-height-minibuffer
(not (eq (ivy-state-caller ivy-last) 'ivy-completion-in-region)))
(set-window-text-height (selected-window)
(+ ivy-height
(if ivy-add-newline-after-prompt
Expand Down

0 comments on commit 7b437a6

Please sign in to comment.