diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2022-02-12 01:02:06 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2022-02-12 01:06:47 +0100 |
| commit | d9bc71d23493573d9a17384e05da5a84d9974131 (patch) | |
| tree | 6ce5c1d6ba2ac389919c973a907d6357ace46f3b /orderless.el | |
| parent | 2eed57658855172eb1797c28d78263e46c009692 (diff) | |
Avoid warnings in the generated autoload file
Diffstat (limited to 'orderless.el')
| -rw-r--r-- | orderless.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/orderless.el b/orderless.el index c6012e9..67b2afd 100644 --- a/orderless.el +++ b/orderless.el @@ -488,9 +488,6 @@ specifically for the %s style.") ;;; Ivy integration -(defvar ivy-regex) -(defvar ivy-highlight-functions-alist) - ;;;###autoload (defun orderless-ivy-re-builder (str) "Convert STR into regexps for use with ivy. @@ -500,6 +497,7 @@ a value in `ivy-re-builders-alist'." (orderless-pattern-compiler str)) "")) +(defvar ivy-regex) (defun orderless-ivy-highlight (str) "Highlight a match in STR of each regexp in `ivy-regex'. This function is for integration of orderless with ivy." @@ -507,6 +505,7 @@ This function is for integration of orderless with ivy." ;;;###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))) |
