Function: mpc-proc-cmd-list

mpc-proc-cmd-list is a byte-compiled function defined in mpc.el.gz.

Signature

(mpc-proc-cmd-list CMDS)

Source Code

;; Defined in /usr/src/emacs/lisp/mpc.el.gz
;; This function doesn't exist in Emacs-21.
;; (put 'mpc-proc-cmd-list 'byte-optimizer 'byte-optimize-pure-func)
(defun mpc-proc-cmd-list (cmds)
  (concat "command_list_begin\n"
          (mapconcat (lambda (cmd)
                       (if (stringp cmd) cmd
                         (mapconcat #'mpc--proc-quote-string cmd " ")))
                     cmds
                     "\n")
          "\ncommand_list_end"))