branch: elpa/helm
commit 2d6718ef0938ad193a98b60534cd5170b2a1eabd
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Do not resize action buffer with autoresize mode
    
    when helm-show-action-window-other-window is enabled.
---
 helm-core.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/helm-core.el b/helm-core.el
index 56a3070f03..3b5ca1ae4b 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -8041,7 +8041,10 @@ source or `helm-follow-input-idle-delay' or
 ;;; Auto-resize mode
 ;;
 (defun helm--autoresize-hook (&optional max-height min-height)
-  (when (helm-window)
+  (when (if (helm--show-action-window-other-window-p)
+            (and (helm-window)
+                 (not (get-buffer-window helm-action-buffer 'visible)))
+          (helm-window))
     (with-helm-window
       (fit-window-to-buffer nil
                             (/ (* (frame-height)

Reply via email to