From 1a462a32c66a5d1b2c8e1470b062d80a954fe4d2 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 15 Dec 2023 15:06:38 +0000 Subject: [PATCH] chore(editor/fussy): use built-in flx-rs score wrapper The built-in wrapper is identical to my previous custom one. --- modules/editor/siren-fussy.el | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/modules/editor/siren-fussy.el b/modules/editor/siren-fussy.el index 994cb1f..ebf2c99 100644 --- a/modules/editor/siren-fussy.el +++ b/modules/editor/siren-fussy.el @@ -34,15 +34,7 @@ :files (:defaults "bin")) :custom - (fussy-score-fn #'siren-flx-rs-score) - - :preface - (defun siren-flx-rs-score (str query &rest args) - "Score STR for QUERY using `flx-rs-score'. - -This will no longer be needed when used with fussy after this PR -is merged: https://github.com/jojojames/fussy/pull/36" - (flx-rs-score (funcall fussy-remove-bad-char-fn str) query args)) + (fussy-score-fn #'fussy-flx-rs-score) :config (flx-rs-load-dyn))