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

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

[elpa] externals/ivy-hydra 99c02cc 109/395: ivy.el (ivy-partial): Fix iv


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 99c02cc 109/395: ivy.el (ivy-partial): Fix ivy-regex mistaken for ivy-text
Date: Thu, 25 Feb 2021 08:31:42 -0500 (EST)

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

    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))))
 



reply via email to

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