From 4d5c79ed1607c3d0263bcde33fc1d795a96aad5f Mon Sep 17 00:00:00 2001 From: tj Date: Thu, 7 Feb 2013 01:51:14 +0100 Subject: [PATCH] "test.pdf" replaced with 'out-file' in ly-process-basic (otherwise all output-files are in pdf format). --- lisp/ob-lilypond.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-lilypond.el b/lisp/ob-lilypond.el index 07ea184..6080a5a 100644 --- a/lisp/ob-lilypond.el +++ b/lisp/ob-lilypond.el @@ -152,7 +152,7 @@ specific arguments to =org-babel-tangle=" " -dbackend=eps " "-dno-gs-load-fonts " "-dinclude-eps-fonts " - (or (cdr (assoc (file-name-extension "test.pdf") + (or (cdr (assoc (file-name-extension out-file) '(("pdf" . "--pdf ") ("ps" . "--ps ") ("png" . "--png ")))) -- 1.8.1.2