From 6a98b006f140b588490c24c5f794aac4250bf300 Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Sun, 19 May 2024 18:36:33 +0200 Subject: [PATCH] * 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 60846ea1..7d3f0008 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