[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-devel
Subject: Bug fix in lilypond-mode.el
From: Milan Zamazal <pdm () brailcom ! org>
Date: 2006-08-29 13:15:06
Message-ID: 87zmdnel9h.fsf () zamazal ! org
[Download RAW message or body]
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 <pdm@brailcom.org>
* elisp/lilypond-mode.el (LilyPond-command-alist): Don't try to
figure out midi file names right here.
[Attachment #3 (text/x-patch)]
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic