branch: master
commit 972036cbe6967d5cdb2fb89ea49081b8af9dc447
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy.el (ivy-alt-done): Enable recursive minibuffers
Re #145
---
ivy.el | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/ivy.el b/ivy.el
index 9adf135..07b84c3 100644
--- a/ivy.el
+++ b/ivy.el
@@ -314,10 +314,11 @@ When ARG is t, exit with current text, ignoring the
candidates."
(dolist (x res)
(setcar x user)))
(setq res (cl-delete-duplicates res :test #'equal))
- (let ((old-ivy-last ivy-last)
- (host (ivy-read "Find File: "
- (mapcar #'ivy-build-tramp-name res)
- :initial-input rest)))
+ (let* ((old-ivy-last ivy-last)
+ (enable-recursive-minibuffers t)
+ (host (ivy-read "Find File: "
+ (mapcar #'ivy-build-tramp-name res)
+ :initial-input rest)))
(setq ivy-last old-ivy-last)
(when host
(setq ivy--directory "/")