emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 07388d0 226/348: Shrink ivy to suitable height when readin


From: Oleh Krehel
Subject: [elpa] master 07388d0 226/348: Shrink ivy to suitable height when reading actions.
Date: Sat, 8 Apr 2017 11:04:01 -0400 (EDT)

branch: master
commit 07388d090c48e6f18ca72f0013baec6ff0f96739
Author: Yevgnen Koh <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Shrink ivy to suitable height when reading actions.
    
    The original option 'grow-only is related to #402 .
    Setting resize-mini-windows to t seems will not break
    the original fix, but has the benefit that when
    the action list is to small, it will shrink to suitable
    height.
    
    Fixes #764
    Re #402
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index fb8feed..d1b9487 100644
--- a/ivy.el
+++ b/ivy.el
@@ -552,7 +552,7 @@ selection, non-nil otherwise."
     (if (null (ivy--actionp actions))
         t
       (let* ((hint (funcall ivy-read-action-format-function (cdr actions)))
-             (resize-mini-windows 'grow-only)
+             (resize-mini-windows t)
              (key (string (read-key hint)))
              (action-idx (cl-position-if
                           (lambda (x) (equal (car x) key))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]