branch: externals/orderless
commit 5897841be41f2864de34461aa68270b87a96ad5d
Author: Omar Antolín <[email protected]>
Commit: Omar Antolín <[email protected]>
Rename default pattern compiler
---
orderless.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/orderless.el b/orderless.el
index 9af347e5d5..504b422dfd 100644
--- a/orderless.el
+++ b/orderless.el
@@ -168,7 +168,7 @@ one of the following forms:
:type 'hook
:group 'orderless)
-(defcustom orderless-pattern-compiler #'orderless--component-regexps
+(defcustom orderless-pattern-compiler #'orderless-default-pattern-compiler
"The `orderless' pattern compiler.
This should be a function that takes an input pattern and returns
a list of regexps that must all match a candidate in order for
@@ -291,7 +291,7 @@ converted to a list of regexps according to the value of
for string = (copy-sequence original)
collect (orderless--highlight regexps string)))
-(defun orderless--component-regexps (pattern)
+(defun orderless-default-pattern-compiler (pattern)
"Build regexps to match the components of PATTERN.
Split PATTERN on `orderless-component-separator' and consult
`orderless-style-dispatchers' and, if necessary,