branch: elpa/flx
commit 3f567a47419f50f2fac8ba2c31f651e85e19e757
Author: Le Wang <[email protected]>
Commit: Le Wang <[email protected]>
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))