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

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

[elpa] master d8d7ed4 42/54: Fix minibuffer collapses to one line


From: Oleh Krehel
Subject: [elpa] master d8d7ed4 42/54: Fix minibuffer collapses to one line
Date: Tue, 29 Sep 2015 14:10:05 +0000

branch: master
commit d8d7ed45f07b52ab63eca444f0e6fa03747fab9e
Author: Julien Wietrich <address@hidden>
Commit: Julien Wietrich <address@hidden>

    Fix minibuffer collapses to one line
    
    It happens since commit SHA:d374afea36df19b5d6b654adc6018b25d6c1d8f2
    when resize-mini-windows is set to true.
    
    It also happens when resize-mini-windows is set to 'grow-only (default)
    and multiple frames are open.
    (Although SHA:435f2b6edfe3ab517c9eda56c6351f0bcfdf3845 work around it)
    
    Temporarily bind `resize-mini-windows' to nil before calling
    `read-from-minibuffer'.
    
    Fix #237 and #229
    
    It might fix #77 although this need to be checked as I cannot reproduce it.
---
 ivy.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ivy.el b/ivy.el
index 63b5b74..375ab79 100644
--- a/ivy.el
+++ b/ivy.el
@@ -890,6 +890,7 @@ candidates with each input."
              (let* ((hist (or history 'ivy-history))
                     (minibuffer-completion-table collection)
                     (minibuffer-completion-predicate predicate)
+                    (resize-mini-windows nil)
                     (res (read-from-minibuffer
                           prompt
                           (ivy-state-initial-input ivy-last)



reply via email to

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