fix: lint

This commit is contained in:
Pavel Korytov 2022-07-17 20:16:48 +03:00
parent 42a348658b
commit a3be34b015

View file

@ -73,8 +73,7 @@ return all the entries in the region."
(- (-
(line-number-at-pos (region-end)) (line-number-at-pos (region-end))
(line-number-at-pos (region-beginning))) (line-number-at-pos (region-beginning)))
1)) 1)))
(first-new-track (with-current-emms-playlist (point-max))))
(save-excursion (save-excursion
(when (use-region-p) (when (use-region-p)
(goto-char (region-beginning))) (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) (lyrics-fetcher--process-filename file-name) hash)
(message "No lyrics fetched for %s" (message "No lyrics fetched for %s"
(funcall lyrics-fetcher-format-song-name-method maybe-track)))) (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) hash)
(defun lyrics-fetcher-analyze--get-entiries-recursive (bdata level lyrics-paths) (defun lyrics-fetcher-analyze--get-entiries-recursive (bdata level lyrics-paths)
@ -271,4 +270,6 @@ language other than English."
(goto-char (point-max)) (goto-char (point-max))
(lyrics-fetcher-analyze--lyrics-count-display data)))) (lyrics-fetcher-analyze--lyrics-count-display data))))
(switch-to-buffer-other-window lyrics-fetcher-analyze-lyrics-count-buffer-name))) (switch-to-buffer-other-window lyrics-fetcher-analyze-lyrics-count-buffer-name)))
(provide 'lyrics-fetcher-analyze)
;;; lyrics-fetcher-analyze.el ends here ;;; lyrics-fetcher-analyze.el ends here