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

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

[elpa] externals/ivy-hydra e860b11 116/395: ivy.el (ivy--resize-minibuff


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra e860b11 116/395: ivy.el (ivy--resize-minibuffer-to-fit): Fix "M-o" not showing the list of actions
Date: Thu, 25 Feb 2021 08:31:44 -0500 (EST)

branch: externals/ivy-hydra
commit e860b11415a9a1e65358a217bb9d7148f5654e09
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    ivy.el (ivy--resize-minibuffer-to-fit): Fix "M-o" not showing the list of 
actions
    
    Re #2397
---
 ivy.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 54ef11e..288c974 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3353,7 +3353,10 @@ Should be run via minibuffer `post-command-hook'."
 
 (defun ivy--resize-minibuffer-to-fit ()
   "Resize the minibuffer window size to fit the text in the minibuffer."
-  (unless (frame-root-window-p (minibuffer-window))
+  (unless (or (frame-root-window-p (minibuffer-window))
+              (memq this-command '(ivy-read-action
+                                   ivy-dispatching-done
+                                   ivy-dispatching-call)))
     (with-selected-window (minibuffer-window)
       (if (fboundp 'window-text-pixel-size)
           (let ((text-height (cdr (window-text-pixel-size)))



reply via email to

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