summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Antolín <omar.antolin@gmail.com>2020-04-23 17:56:03 -0500
committerOmar Antolín <omar.antolin@gmail.com>2020-04-23 17:56:03 -0500
commit60e70aa53b6044d988648502181ecb91689d59fc (patch)
treea3eaa1cc03dafc7bb4f0d92b76b29c4508370711
parentf2ccc538ef9b547b261c16ab5a8cec1c8e461c88 (diff)
Add autoloads
-rw-r--r--orderless.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/orderless.el b/orderless.el
index 0fb9b81..b88a38d 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.")