emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/orderless 50c83f2752 074/204: Avoid using cl-lib in aut


From: ELPA Syncer
Subject: [elpa] externals/orderless 50c83f2752 074/204: Avoid using cl-lib in autoloads
Date: Tue, 11 Jan 2022 12:58:18 -0500 (EST)

branch: externals/orderless
commit 50c83f2752f803e413125acc90ebcb09d98fe8db
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>

    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 eb7298aadc..06780f4c24 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]