From: Bastien Guerry Date: Sat, 26 Jan 2013 11:00:37 +0000 (+0100) Subject: ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to set the output type X-Git-Tag: release_8.0-pre~499 X-Git-Url: https://repo.or.cz/w/org-mode.git/commitdiff_plain/eab0cd025c7f2f1b4f185dc9325b684b46a6f10c ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to set the output type * ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to set the output type. Thanks to Florian Beck for reporting this. --- diff --git a/lisp/ob-lilypond.el b/lisp/ob-lilypond.el index 0d6b39b36..b96dc344d 100644 --- a/lisp/ob-lilypond.el +++ b/lisp/ob-lilypond.el @@ -152,7 +152,10 @@ specific arguments to =org-babel-tangle=" " -dbackend=eps " "-dno-gs-load-fonts " "-dinclude-eps-fonts " - "--png " + (cond (ly-gen-png "--png ") + (ly-gen-pdf "--pdf ") + (ly-gen-eps "--ps ") + (t "--png ")) "--output=" (file-name-sans-extension out-file) " "