[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] Tiny change in ob-lilypond.el
From: |
Thorsten Jolitz |
Subject: |
[O] [PATCH] Tiny change in ob-lilypond.el |
Date: |
Thu, 07 Feb 2013 01:59:34 +0100 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.2 (gnu/linux) |
Hi,
A tiny change to make ob-lilypond export the results in the format
specified for the ':file' in the source-block header.
>From 4d5c79ed1607c3d0263bcde33fc1d795a96aad5f Mon Sep 17 00:00:00 2001
From: tj <address@hidden>
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
--
cheers,
Thorsten
- [O] [PATCH] Tiny change in ob-lilypond.el,
Thorsten Jolitz <=