summaryrefslogtreecommitdiff
path: root/orderless.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-03-12 09:50:26 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2022-03-12 09:59:43 +0100
commit41281fd92dbf6ab6dcf75f61312d8a486a7b4ca9 (patch)
treedddd057901eef617e07d387b26863740cf56f373 /orderless.el
parent7ddf5dfe9e982ee1510ceec36eeb4d8bb802ea73 (diff)
Ivy: Do not auto register the highlighting function
It seems to me that there is almost no advantage of auto loading that part of the code in contrast to adding it to the configuration directly. Probably most users use Orderless with completion systems like default completion, Vertico or Mct.
Diffstat (limited to 'orderless.el')
-rw-r--r--orderless.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/orderless.el b/orderless.el
index 6352697..347392f 100644
--- a/orderless.el
+++ b/orderless.el
@@ -504,11 +504,5 @@ a value in `ivy-re-builders-alist'."
This function is for integration of orderless with ivy."
(orderless--highlight (mapcar #'car ivy-regex) str) str)
-;;;###autoload
-(with-eval-after-load 'ivy
- (defvar ivy-highlight-functions-alist)
- (add-to-list 'ivy-highlight-functions-alist
- '(orderless-ivy-re-builder . orderless-ivy-highlight)))
-
(provide 'orderless)
;;; orderless.el ends here