refactor!: remove pcre2el package

BREAKING CHANGE: This removes the pcre2el package, which Doom was using
solely for one function to escape PCREs. In the interest of thinning out
Doom's core, I've hoisted a simpler version of the function into Doom's
stdlib so I can remove the dependency.
This commit is contained in:
Henrik Lissner 2024-07-01 02:02:08 -04:00
parent f9dfb7e92a
commit 481753bd5e
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
5 changed files with 20 additions and 6 deletions

View file

@ -270,7 +270,7 @@ The point of this is to avoid Emacs locking up indexing massive file trees."
((string= substr "|")
"\\\\\\\\|")
((concat "\\\\" substr))))
(rxt-quote-pcre (doom-thing-at-point-or-region)))))
(doom-pcre-quote (doom-thing-at-point-or-region)))))
directory args
(or prompt
(format "Search project [%s]: "