branch: externals/ivy-hydra
commit 99c02ccd400524485e6237b695b8898b9f937242
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy.el (ivy-partial): Fix ivy-regex mistaken for ivy-text
Fixes #2415
---
ivy.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ivy.el b/ivy.el
index fd2660d..3bd7104 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1167,11 +1167,11 @@ If the text hasn't changed as a result, forward to
`ivy-alt-done'."
(if (= (string-to-char postfix) ?^)
(concat "^" new)
new))
- (insert
- (ivy-set-text
- (concat
- (mapconcat #'identity parts " ")
- (and ivy-tab-space (not (= (length ivy--old-cands) 1)) " "))))
+ (ivy-set-text
+ (concat
+ (mapconcat #'identity parts " ")
+ (and ivy-tab-space (not (= (length ivy--old-cands) 1)) " ")))
+ (insert ivy-text)
(ivy--partial-cd-for-single-directory)
t))))