If one loads Emacs lilypond-mode.el when the current buffer is not a LilyPond file, error is signalled. The following patch fixes it:
2006-08-29 Milan Zamazal <[EMAIL PROTECTED]> * elisp/lilypond-mode.el (LilyPond-command-alist): Don't try to figure out midi file names right here.
Index: elisp/lilypond-mode.el =================================================================== RCS file: /sources/lilypond/lilypond/elisp/lilypond-mode.el,v retrieving revision 1.20 diff -u -r1.20 lilypond-mode.el --- elisp/lilypond-mode.el 23 Feb 2006 09:08:48 -0000 1.20 +++ elisp/lilypond-mode.el 29 Aug 2006 12:03:16 -0000 @@ -446,9 +446,9 @@ ;; The following are refreshed in LilyPond-command: ;; - current-midi depends on cursor position and - ("Midi" . (,(concat LilyPond-midi-command " " (LilyPond-string-current-midi)))) ; + ("Midi" . ("")) ; ;; - all-midi depends on number of midi-score. - ("MidiAll" . (,(concat LilyPond-all-midi-command " " (LilyPond-string-all-midi)))) + ("MidiAll" . ("")) ) "AList of commands to execute on the current document.
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel