branch: elpa/subed commit c4c67a585f0304ebf4e81e238132af6b444a9cc4 Author: Sacha Chua <sa...@sachachua.com> Commit: Sacha Chua <sa...@sachachua.com>
subed-word-data: bugfix --- NEWS.org | 4 ++++ subed/subed-word-data.el | 2 +- subed/subed.el | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/NEWS.org b/NEWS.org index 0f038c2fbf..fd4a90bc46 100644 --- a/NEWS.org +++ b/NEWS.org @@ -1,6 +1,10 @@ #+OPTIONS: toc:nil * subed news +** Version 1.2.20 - 2024-11-17 - Sacha Chua + +- subed-word-data.el: Bugfix, whoops. I should write tests for this someday... + ** Version 1.2.19 - 2024-11-16 - Sacha Chua - subed-word-data.el: Enhancement: Show transcription confidence based on WhisperX JSON data. diff --git a/subed/subed-word-data.el b/subed/subed-word-data.el index cb9f3fea56..166eef2886 100644 --- a/subed/subed-word-data.el +++ b/subed/subed-word-data.el @@ -276,7 +276,7 @@ Return non-nil if they are the same after normalization." (defsubst subed-word-data--candidate-face (candidate) "Return the face to use for CANDIDATE." (if (and (alist-get 'score candidate) - subed-word-data-confidence-faces) + subed-word-data-score-faces) (cdr (seq-find (lambda (threshold) (>= (alist-get 'score candidate) (car threshold))) subed-word-data-score-faces)) subed-word-data-face)) diff --git a/subed/subed.el b/subed/subed.el index 78c1ec9095..603bb71546 100644 --- a/subed/subed.el +++ b/subed/subed.el @@ -1,6 +1,6 @@ ;;; subed.el --- A major mode for editing subtitles -*- lexical-binding: t; -*- -;; Version: 1.2.19 +;; Version: 1.2.20 ;; Maintainer: Sacha Chua <sa...@sachachua.com> ;; Author: Random User ;; Keywords: convenience, files, hypermedia, multimedia