mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix +vertico-file-search when separator is used
instead of the Perl style. `concat` can't operate on characters.
This commit is contained in:
@ -53,7 +53,7 @@ orderless."
|
|||||||
(pcase type
|
(pcase type
|
||||||
(`separator
|
(`separator
|
||||||
(replace-regexp-in-string (regexp-quote (char-to-string separator))
|
(replace-regexp-in-string (regexp-quote (char-to-string separator))
|
||||||
(concat "\\" separator)
|
(concat "\\" (char-to-string separator))
|
||||||
query t t))
|
query t t))
|
||||||
(`perl
|
(`perl
|
||||||
(when (string-match-p initial query)
|
(when (string-match-p initial query)
|
||||||
|
Reference in New Issue
Block a user