From 5897841be41f2864de34461aa68270b87a96ad5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20Antol=C3=ADn?= Date: Tue, 28 Apr 2020 09:27:31 -0500 Subject: Rename default pattern compiler --- orderless.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orderless.el b/orderless.el index 9af347e..504b422 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, -- cgit v1.0