branch: externals/orderless
commit c75f5d15dd535bf497c200111191476afce10051
Author: Omar Antolín <[email protected]>
Commit: Omar Antolín <[email protected]>
Add autoloads for orderless-filter and orderless-highlight-matches
---
orderless.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/orderless.el b/orderless.el
index b88a38dbf7..7bfb1035bf 100644
--- a/orderless.el
+++ b/orderless.el
@@ -164,6 +164,7 @@ at a word boundary in the candidate. This is similar to the
(cl-loop for prefix in (split-string component "\\>" t)
collect `(seq word-boundary ,prefix))))
+;;;###autoload
(defun orderless-highlight-matches (regexps strings)
"Highlight a match of each of the REGEXPS in each of the STRINGS.
Warning: only use this if you know all REGEXPs match all STRINGS!
@@ -204,6 +205,7 @@ The predicate PRED is used to constrain the entries in
TABLE."
(let ((limit (car (completion-boundaries string table pred ""))))
(cons (substring string 0 limit) (substring string limit))))
+;;;###autoload
(defun orderless-filter (string table &optional pred)
"Split STRING into components and find entries TABLE matching all.
The predicate PRED is used to constrain the entries in TABLE."