Skip to content

Commit

Permalink
Remove skim prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurnevsky committed Nov 14, 2024
1 parent 3528d60 commit 566a494
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/emacs/fuzzy-matcher/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lazy_static! {
}

#[defun]
fn skim_fuzzy_indices(env: &Env, pattern: String, source: String) -> Result<Option<Value>> {
fn fuzzy_indices(env: &Env, pattern: String, source: String) -> Result<Option<Value>> {
let mut indices = Vec::new();
let mut source_buf = Vec::new();
let mut pattern_buf = Vec::new();
Expand Down
2 changes: 1 addition & 1 deletion modules/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ which LANG was detected but these are ignored."
(substring string 0 (- (length string) 1))
string))
(defun fuzzy-matcher-propertize (pattern candidate)
(let* ((score (fuzzy-matcher-skim-fuzzy-indices
(let* ((score (fuzzy-matcher-fuzzy-indices
(encode-coding-string pattern 'utf-8 t)
(encode-coding-string (fuzzy-matcher-without-tofu-char candidate) 'utf-8 t)))
(candidate (copy-sequence candidate)))
Expand Down

0 comments on commit 566a494

Please sign in to comment.