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

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

[nongnu] elpa/flx 17f5c9cb2a 162/182: Merge pull request #102 from tarsi


From: ELPA Syncer
Subject: [nongnu] elpa/flx 17f5c9cb2a 162/182: Merge pull request #102 from tarsiiformes/typos
Date: Tue, 13 Dec 2022 03:59:40 -0500 (EST)

branch: elpa/flx
commit 17f5c9cb2af18aa6f52910ff4a5a63591261ced5
Merge: 46040d0b09 836d5917a3
Author: Jonathan Hayase <PythonNut@users.noreply.github.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #102 from tarsiiformes/typos
    
    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))))



reply via email to

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