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

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

[elpa] externals/orderless d9bc71d234 2/4: Avoid warnings in the generat


From: ELPA Syncer
Subject: [elpa] externals/orderless d9bc71d234 2/4: Avoid warnings in the generated autoload file
Date: Fri, 11 Feb 2022 22:57:35 -0500 (EST)

branch: externals/orderless
commit d9bc71d23493573d9a17384e05da5a84d9974131
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Avoid warnings in the generated autoload file
---
 orderless.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/orderless.el b/orderless.el
index c6012e9f36..67b2afd6b8 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)))
 



reply via email to

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