Function: mpc-playlist-delete
mpc-playlist-delete is an interactive and byte-compiled function
defined in mpc.el.gz.
Signature
(mpc-playlist-delete)
Documentation
Remove the selected songs from the playlist.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mpc.el.gz
(defun mpc-playlist-delete ()
"Remove the selected songs from the playlist."
(interactive)
(unless mpc-songs-playlist
(error "The selected songs aren't part of a playlist"))
(let ((song-poss (mapcar #'cdr (mpc-songs-selection))))
(mpc-cmd-delete song-poss mpc-songs-playlist)
(mpc-songs-refresh)
(message "Deleted %d songs" (length song-poss))))