|
|
@ -520,7 +520,7 @@ Transform each entity to a string with TRANSFORMER, |
|
|
|
(gethash entity-string map)))) |
|
|
|
|
|
|
|
(defun libmpdel-completing-read-entity (function prompt entity &optional transformer) |
|
|
|
"Call FUNCTION after prompting for an element of ENTITY. |
|
|
|
"Call FUNCTION after prompting with PROMPT for an element of ENTITY. |
|
|
|
|
|
|
|
Pass PROMPT, the elements of ENTITY and TRANSFORMER to |
|
|
|
`libmpdel-completing-read'." |
|
|
@ -784,7 +784,7 @@ ENTITY can also be a list of entities to add.") |
|
|
|
entities)) |
|
|
|
|
|
|
|
(defun libmpdel-playlist-replace (entity playlist) |
|
|
|
"Clear PLAYLIST and add ENTITY to it." |
|
|
|
"Add ENTITY to PLAYLIST after clearing it." |
|
|
|
(libmpdel-playlist-clear playlist) |
|
|
|
(libmpdel-playlist-add entity playlist)) |
|
|
|
|
|
|
|