branch: master
commit e95a16b8a8c318689da930bf1415ce92b720421e
Author: Jiajian Huang <[email protected]>
Commit: Jiajian Huang <[email protected]>
Shrink ivy window after read action.
Fixed for OCD :)
---
ivy.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ivy.el b/ivy.el
index f3645dd..04820e6 100644
--- a/ivy.el
+++ b/ivy.el
@@ -827,7 +827,8 @@ selection, non-nil otherwise."
(t
(message "")
(setcar actions (1+ action-idx))
- (ivy-set-action actions)))))))
+ (ivy-set-action actions))))))
+ (ivy-shrink-after-dispatching))
(defun ivy-shrink-after-dispatching ()
"Shrink the window after dispatching when action list is too large."