diff options
| author | Omar Antolín <omar.antolin@gmail.com> | 2020-04-24 19:05:47 -0500 |
|---|---|---|
| committer | Omar Antolín <omar.antolin@gmail.com> | 2020-04-24 19:05:47 -0500 |
| commit | 1631eb1733b59d17adbdfde9371e877c19ad82bd (patch) | |
| tree | 3dc37f0fd4a5282494e48c8a5288abd3b3665e10 | |
| parent | 46e4ecdba5883d11a1da7559b0556c5e48e2d64d (diff) | |
Fix autoload for ivy
I confused eval-after-load and with-eval-after-load!
| -rw-r--r-- | orderless.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/orderless.el b/orderless.el index aa16cd9..eb7298a 100644 --- a/orderless.el +++ b/orderless.el @@ -6,7 +6,7 @@ ;; Keywords: extensions ;; Version: 0.3 ;; Homepage: https://github.com/oantolin/orderless -;; Package-Requires: ((emacs "24.3")) +;; Package-Requires: ((emacs "24.4")) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -179,7 +179,6 @@ Warning: only use this if you know all REGEXPs match!" string))) string) -;;;###autoload (defun orderless-highlight-matches (regexps strings) "Highlight a match of each of the REGEXPS in each of the STRINGS. Warning: only use this if you know all REGEXPs match all STRINGS! @@ -303,7 +302,7 @@ This function is for integration of orderless with ivy." (orderless--highlight (mapcar #'car ivy-regex) str) str) ;;;###autoload -(eval-after-load 'ivy +(with-eval-after-load 'ivy (cl-pushnew '(orderless-ivy-re-builder . orderless-ivy-highlight) ivy-highlight-functions-alist :test #'equal)) |
