diff options
| author | Omar Antolín <omar.antolin@gmail.com> | 2020-04-24 19:11:29 -0500 |
|---|---|---|
| committer | Omar Antolín <omar.antolin@gmail.com> | 2020-04-24 19:11:29 -0500 |
| commit | 50c83f2752f803e413125acc90ebcb09d98fe8db (patch) | |
| tree | f116f6b1c240310b29af1b827fb4fd673792e4db | |
| parent | 1631eb1733b59d17adbdfde9371e877c19ad82bd (diff) | |
Avoid using cl-lib in autoloads
| -rw-r--r-- | orderless.el | 6 |
1 files 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 |
