lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug fix in lilypond-mode.el


From: Milan Zamazal
Subject: Bug fix in lilypond-mode.el
Date: Tue, 29 Aug 2006 15:15:06 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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  <address@hidden>

        * 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]