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

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

[nongnu] elpa/flx 24f5d2cfc5 099/182: Fix typo threshhold -> threshold


From: ELPA Syncer
Subject: [nongnu] elpa/flx 24f5d2cfc5 099/182: Fix typo threshhold -> threshold
Date: Tue, 13 Dec 2022 03:59:34 -0500 (EST)

branch: elpa/flx
commit 24f5d2cfc5a80a0cbf38f7597748df749ab66514
Author: Le Wang <le.wang@agworld.com.au>
Commit: Le Wang <le.wang@agworld.com.au>

    Fix typo threshhold -> threshold
---
 README.md  | 4 ++--
 flx-ido.el | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 341477d25f..34ae356ee7 100644
--- a/README.md
+++ b/README.md
@@ -103,10 +103,10 @@ If you don't want to use the `flx`'s highlights you can 
turn them off like this:
 
 ### Flx uses a complex matching heuristics which can be slow for large 
collections
 
-Customize `flx-ido-threshhold` to change the collection size above which flx
+Customize `flx-ido-threshold` to change the collection size above which flx
 will revert to flex matching.
 
-As soon as the collection is narrowed below `flx-ido-threshhold`, flx will
+As soon as the collection is narrowed below `flx-ido-threshold`, flx will
 kick in again.
 
 As a point of reference for a 2.3 GHz quad-core i7 processor, a value of
diff --git a/flx-ido.el b/flx-ido.el
index fc248e2ebe..56465ae29c 100644
--- a/flx-ido.el
+++ b/flx-ido.el
@@ -61,7 +61,7 @@
 (eval-when-compile
   (defvar ido-cur-item))
 
-(defcustom flx-ido-threshhold 6000
+(defcustom flx-ido-threshold 6000
   "flx will not kick in until collection is filtered below this size with 
\"flex\"."
   :group 'ido)
 
@@ -224,7 +224,7 @@ non-nil."
     (setq flx-ido-last-run (cons
                             query
                             (if (or (not flx-ido-mode)
-                                    (> (length items) flx-ido-threshhold))
+                                    (> (length items) flx-ido-threshold))
                                 ad-do-it
                               (flx-ido-match query items)))))
   (setq ad-return-value (cdr flx-ido-last-run))



reply via email to

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