From 50c83f2752f803e413125acc90ebcb09d98fe8db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20Antol=C3=ADn?= Date: Fri, 24 Apr 2020 19:11:29 -0500 Subject: Avoid using cl-lib in autoloads --- orderless.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/orderless.el b/orderless.el index eb7298a..06780f4 100644 --- a/orderless.el +++ b/orderless.el @@ -287,7 +287,6 @@ This function is part of the `orderless' completion style." ;;; ivy integration (defvar ivy-regex) -(defvar ivy-highlight-functions-alist) ;;;###autoload (defun orderless-ivy-re-builder (str) @@ -303,9 +302,8 @@ This function is for integration of orderless with ivy." ;;;###autoload (with-eval-after-load 'ivy - (cl-pushnew '(orderless-ivy-re-builder . orderless-ivy-highlight) - ivy-highlight-functions-alist - :test #'equal)) + (add-to-list 'ivy-highlight-functions-alist + '(orderless-ivy-re-builder . orderless-ivy-highlight))) (provide 'orderless) ;;; orderless.el ends here -- cgit v1.0