From a3be34b0153c2c056dc4b55bbc5fbdc2d9f87549 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Sun, 17 Jul 2022 20:16:48 +0300 Subject: [PATCH] fix: lint --- lyrics-fetcher-analyze.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lyrics-fetcher-analyze.el b/lyrics-fetcher-analyze.el index a69c616..45c9783 100644 --- a/lyrics-fetcher-analyze.el +++ b/lyrics-fetcher-analyze.el @@ -73,8 +73,7 @@ return all the entries in the region." (- (line-number-at-pos (region-end)) (line-number-at-pos (region-beginning))) - 1)) - (first-new-track (with-current-emms-playlist (point-max)))) + 1))) (save-excursion (when (use-region-p) (goto-char (region-beginning))) @@ -100,7 +99,7 @@ where the key is the path and the value is the path to the file." (lyrics-fetcher--process-filename file-name) hash) (message "No lyrics fetched for %s" (funcall lyrics-fetcher-format-song-name-method maybe-track)))) - (lyrics-fetcher-analyze--get-lyrics-by-name (alist-get 'data bdatum) hash)))) + (lyrics-fetcher-analyze--get-lyrics-paths (alist-get 'data bdatum) hash)))) hash) (defun lyrics-fetcher-analyze--get-entiries-recursive (bdata level lyrics-paths) @@ -271,4 +270,6 @@ language other than English." (goto-char (point-max)) (lyrics-fetcher-analyze--lyrics-count-display data)))) (switch-to-buffer-other-window lyrics-fetcher-analyze-lyrics-count-buffer-name))) + +(provide 'lyrics-fetcher-analyze) ;;; lyrics-fetcher-analyze.el ends here