Thorsten Jolitz <tjol...@gmail.com> writes: > Steven Arntson <ste...@stevenarntson.com> writes: > >> I'm using org-babel to enter lilypond code for music typesetting. I had >> an old version of lilypond from the Ubuntu repos installed in >> /usr/bin. This worked, but the version was getting old. I installed the >> latest stable version from the lilypond.org website, and it ended up in >> /usr/local. I removed (apt-get remove) the repo version. Now when I do >> ly-tangle, I get: >> >> ly-compile-lilyfile: Searching for program: no such file or directory, >> /usr/bin/lilypond >> >> I tried to "customize-variable" on "ly-compile-lilyfile" but there's >> no match. >> >> How do I change where org looks for this program? > > Maybe > > ,----[ C-h v ly-nix-ly-path RET ] > | ly-nix-ly-path is a variable defined in `ob-lilypond.el'. > | Its value is "/usr/bin/lilypond" > | > | Documentation: > | Not documented as a variable. > | > | [back] > `---- > > ?
I changed ly-nix-ly-path in ob-lilypond.el to "/usr/local/lilypond". I restarted emacs, ran "ly-tangle" and again got the message of "no such file or directory, /usr/bin/lilypond." But my change is still there in the file, so it must be looking somewhere else, too? I also wonder: is it a good idea for me to be meddling in a file like "ob-lilypond"? Will any changes I make be reverted when I get an update from the emacs package manager? I am a beginner here, so thank you for your help! -steven