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

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

[elpa] externals/ivy 6a98b006f1 1/2: * ivy.el (ivy-completing-read): Fix


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy 6a98b006f1 1/2: * ivy.el (ivy-completing-read): Fix last change.
Date: Sun, 19 May 2024 12:39:07 -0400 (EDT)

branch: externals/ivy
commit 6a98b006f140b588490c24c5f794aac4250bf300
Author: Basil L. Contovounesios <basil@contovou.net>
Commit: Basil L. Contovounesios <basil@contovou.net>

    * ivy.el (ivy-completing-read): Fix last change.
    
    Previously, non-literal replace-match via replace-regexp-in-string
    was interpreting doubled backslashes as single ones.
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 60846ea134..7d3f000831 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2560,7 +2560,7 @@ INHERIT-INPUT-METHOD is currently ignored."
                          (car initial-input))
                         ((and (stringp initial-input)
                               (not (eq collection #'read-file-name-internal)))
-                         (ivy--string-replace "+" "\\\\+" initial-input))
+                         (ivy--string-replace "+" "\\+" initial-input))
                         (initial-input))
                   :preselect def
                   :def def



reply via email to

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