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

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

[nongnu] elpa/flx 3f567a4741 126/182: back out clojure style `<`


From: ELPA Syncer
Subject: [nongnu] elpa/flx 3f567a4741 126/182: back out clojure style `<`
Date: Tue, 13 Dec 2022 03:59:36 -0500 (EST)

branch: elpa/flx
commit 3f567a47419f50f2fac8ba2c31f651e85e19e757
Author: Le Wang <l26wang@gmail.com>
Commit: Le Wang <l26wang@gmail.com>

    back out clojure style `<`
---
 flx.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/flx.el b/flx.el
index 62e471d46b..931a8ade9a 100644
--- a/flx.el
+++ b/flx.el
@@ -292,7 +292,8 @@ See documentation for logic."
         ((str-info (flx-process-cache str cache))
          (heatmap (gethash 'heatmap str-info))
          (query-length (length query))
-         (full-match-boost (< 1 query-length 5))
+         (full-match-boost (and (< 1 query-length)
+                              (< query-length 5)))
 
          ;; Dynamic Programming table
          (match-cache (make-hash-table :test 'eql :size 10))



reply via email to

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