]> code.delx.au - gnu-emacs-elpa/commit
Fix the minibuffer being too small with enough candidates
authorOleh Krehel <ohwoeowho@gmail.com>
Mon, 15 Jun 2015 13:30:47 +0000 (15:30 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Mon, 15 Jun 2015 13:30:47 +0000 (15:30 +0200)
commit1a5b259ba40f0439320b15c896b57b74fdd54de9
treede6269bbf8a53f64754bdc6af24ade05b36da577
parent02cedb7a6bc7d915681bb0765b4fd1784a86dd31
Fix the minibuffer being too small with enough candidates

* ivy.el (ivy--format): Fix the bug of getting the minibuffer height
  less than `ivy-height' when `ivy--index' was between `ivy--length'
  and (- ivy--length (/ ivy--height 2)).

* ivy-test.el (ivy--format): Add test.
ivy-test.el
ivy.el