Function: mpc-playlist-add

mpc-playlist-add is an interactive and byte-compiled function defined in mpc.el.gz.

Signature

(mpc-playlist-add)

Documentation

Add the selection to the playlist.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/mpc.el.gz
(defun mpc-playlist-add ()
  "Add the selection to the playlist."
  (interactive)
  (let ((songs (mapcar #'car (mpc-songs-selection))))
    (mpc-cmd-add songs)
    (message "Appended %d songs" (length songs))
    ;; Return the songs added.  Used in `mpc-play'.
    songs))