branch: master
commit 332f990fc1b68f84ebb9d0557ce4abac8392cd79
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    ivy.el: Fix compiler warning
---
 ivy.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/ivy.el b/ivy.el
index 195142a..6316d6e 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3256,6 +3256,12 @@ before substring matches."
        (nreverse res-virtual-prefix)
        (nreverse res-virtual-noprefix)))))
 
+(defvar ivy-flx-limit 200
+  "Used to conditionally turn off flx sorting.
+
+When the amount of matching candidates exceeds this limit, then
+no sorting is done.")
+
 (defun ivy--recompute-index (name re-str cands)
   "Recompute index of selected candidate matching NAME.
 RE-STR is the regexp, CANDS are the current candidates."
@@ -3377,12 +3383,6 @@ This function serves as a fallback when nothing else is 
available."
            (const ivy-minibuffer-match-face-4)
            (face :tag "Other face"))))
 
-(defvar ivy-flx-limit 200
-  "Used to conditionally turn off flx sorting.
-
-When the amount of matching candidates exceeds this limit, then
-no sorting is done.")
-
 (defun ivy--minibuffer-face (n)
   "Return Nth face from `ivy-minibuffer-faces'.
 N wraps around, but skips the first element of the list."

Reply via email to