branch: externals/orderless
commit 60e70aa53b6044d988648502181ecb91689d59fc
Author: Omar Antolín <[email protected]>
Commit: Omar Antolín <[email protected]>
Add autoloads
---
orderless.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/orderless.el b/orderless.el
index 0fb9b81c46..b88a38dbf7 100644
--- a/orderless.el
+++ b/orderless.el
@@ -216,6 +216,7 @@ The predicate PRED is used to constrain the entries in
TABLE."
(all-completions prefix table pred)))
(invalid-regexp nil)))
+;;;###autoload
(defun orderless-all-completions (string table pred _point)
"Split STRING into components and find entries TABLE matching all.
The predicate PRED is used to constrain the entries in TABLE. The
@@ -229,6 +230,7 @@ This function is part of the `orderless' completion style."
(orderless-highlight-matches pattern completions)
(length prefix))))))
+;;;###autoload
(defun orderless-try-completion (string table pred point &optional _metadata)
"Complete STRING to unique matching entry in TABLE.
This uses `orderless-all-completions' to find matches for STRING
@@ -247,6 +249,7 @@ This function is part of the `orderless' completion style."
(cons full (length full))))
(t (cons string point)))))
+;;;###autoload
(cl-pushnew '(orderless
orderless-try-completion orderless-all-completions
"Completion of multiple components, in any order.")