Update docstring for git-annex playlist generation function

It's not generating a playlist, but a list of absolute file names that are later
used to generate a playlist proper.
This commit is contained in:
Daniel - 2021-02-06 18:18:35 +01:00
parent c6af10f216
commit 8039aad605
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 5 additions and 4 deletions

View File

@ -60,12 +60,13 @@ Shuffle it and start playing it afterwards."
(emms-start)))))
(defun db/playlist-files-from-git-annex-find (match-expression)
"Generate playlist from git annex find on MATCH-EXPRESSION.
"Generate list of files from git annex find on MATCH-EXPRESSION.
Prompts for MATCH-EXPRESSION when called interactively.
Generates playlist that is comprised of exactly those files that
are match it. Assumes `emms-source-file-default-directory to be
part of a git-annex repository, and will complain otherwise."
Generates a list of absolute file names that is comprised of
exactly those files that match it. Assumes the default EMMS file
directory as specified by `emms-source-file-default-directory to
be part of a git-annex repository, complaining otherwise."
(interactive "smatch expression: ")
(let* ((default-directory emms-source-file-default-directory))
(->> (split-string (with-output-to-string