branch: externals/ivy commit 6a98b006f140b588490c24c5f794aac4250bf300 Author: Basil L. Contovounesios <ba...@contovou.net> Commit: Basil L. Contovounesios <ba...@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