From 8039aad6051d29d66859cef1cd29303077730b49 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 6 Feb 2021 18:18:35 +0100 Subject: [PATCH] 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. --- site-lisp/db-music.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/site-lisp/db-music.el b/site-lisp/db-music.el index e5a9b18..1a9b0e5 100644 --- a/site-lisp/db-music.el +++ b/site-lisp/db-music.el @@ -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