From 7bd1b1bff5bd7aff615e20451dc62bb043c22fb7 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 18 Sep 2006 09:01:42 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 5 +++++ elisp/lilypond-mode.el | 4 ++-- flower/file-name.cc | 4 +--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3057ec3ce8..14eae8cc53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-29 Milan Zamazal + + * elisp/lilypond-mode.el (LilyPond-command-alist): Don't try to + figure out midi file names right here. + 2006-09-17 Han-Wen Nienhuys * scm/framework-ps.scm (dump-stencil-as-EPS): naming pad-eps-boxes. diff --git a/elisp/lilypond-mode.el b/elisp/lilypond-mode.el index db3c8caf4e..d27487c6ed 100644 --- a/elisp/lilypond-mode.el +++ b/elisp/lilypond-mode.el @@ -446,9 +446,9 @@ in LilyPond-include-path." ;; 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. diff --git a/flower/file-name.cc b/flower/file-name.cc index 787c27f25a..fd69d379d5 100644 --- a/flower/file-name.cc +++ b/flower/file-name.cc @@ -74,9 +74,7 @@ dir_name (string const file_name) if (n && s[n - 1] == '/') s[n - 1] = 0; if (s.rfind ('/') != NPOS) - { - s = s.substr (0, s.rfind ('/')); - } + s = s.substr (0, s.rfind ('/')); else s = ""; -- 2.39.2