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

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

[elpa] master 332f990 285/399: ivy.el: Fix compiler warning


From: Oleh Krehel
Subject: [elpa] master 332f990 285/399: ivy.el: Fix compiler warning
Date: Sat, 20 Jul 2019 14:57:41 -0400 (EDT)

branch: master
commit 332f990fc1b68f84ebb9d0557ce4abac8392cd79
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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

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