Function: org-babel-lilypond-compile-lilyfile
org-babel-lilypond-compile-lilyfile is a byte-compiled function
defined in ob-lilypond.el.gz.
Signature
(org-babel-lilypond-compile-lilyfile FILENAME &optional _)
Documentation
Compile Lilypond FILENAME and check for compile errors.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-lilypond.el.gz
;;Ignoring second arg for pre Org 9.7 compatibility
(defun org-babel-lilypond-compile-lilyfile (filename &optional _)
"Compile Lilypond FILENAME and check for compile errors."
(message "Compiling %s..." filename)
(let ((args (delq nil (list
(and org-babel-lilypond-gen-png "--png")
(and org-babel-lilypond-gen-html "--html")
(and org-babel-lilypond-gen-pdf "--pdf")
(and org-babel-lilypond-use-eps "-dbackend=eps")
(and org-babel-lilypond-gen-svg "-dbackend=svg")
(concat "--output=" (file-name-sans-extension filename))
filename))))
(apply #'call-process org-babel-lilypond-ly-command nil
"*lilypond*" 'display args)))