branch: elpa/flx commit 836d5917a32b09c1c08e8358344f07d6aa7e2f69 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
Fix typos --- flx.el | 4 ++-- tests/flx-test.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flx.el b/flx.el index 874ce5bdcb..4b4bebab22 100644 --- a/flx.el +++ b/flx.el @@ -230,11 +230,11 @@ See documentation for logic." sorted-list)) (defun flx-make-filename-cache () - "Return cache hashtable appropraite for storing filenames." + "Return cache hashtable appropriate for storing filenames." (flx-make-string-cache 'flx-get-heatmap-file)) (defun flx-make-string-cache (&optional heat-func) - "Return cache hashtable appropraite for storing strings." + "Return cache hashtable appropriate for storing strings." (let ((hash (make-hash-table :test 'equal :size 4096))) (puthash 'heatmap-func (or heat-func 'flx-get-heatmap-str) hash) diff --git a/tests/flx-test.el b/tests/flx-test.el index 57b2a26be5..6d5b6694b9 100644 --- a/tests/flx-test.el +++ b/tests/flx-test.el @@ -311,7 +311,7 @@ In this case, the match with more contiguous characters is better." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (ert-deftest flx-entire-match-3 () - "when entire string is match, it shoud overpower acronym matches" + "when entire string is match, it should overpower acronym matches" (let* ((query "rss") (higher (flx-score "rss" query (flx-make-filename-cache))) (lower (flx-score "rff-sff-sff" query (flx-make-filename-cache))))