From 3f751c117925c1cfd938f26d552619e474823e83 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 10 Apr 2019 20:09:59 -0400 Subject: [PATCH] Correctly regexp-quote symbol on SPC * --- modules/config/default/autoload/default.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/config/default/autoload/default.el b/modules/config/default/autoload/default.el index 85cfb908b..d6a8a394b 100644 --- a/modules/config/default/autoload/default.el +++ b/modules/config/default/autoload/default.el @@ -265,7 +265,7 @@ If prefix ARG is set, prompt for a known project to search from." (user-error "There are no known projects")) default-directory))) (cond ((featurep! :completion ivy) - (+ivy/rg nil symbol)) + (+ivy/rg nil (rxt-quote-pcre symbol))) ((featurep! :completion helm) - (+helm/rg nil symbol)) - ((rgrep (regexp-opt symbol)))))) + (+helm/rg nil (rxt-quote-pcre symbol))) + ((rgrep (regexp-quote symbol))))))