From 02f30e7188096e84b4e362b627742faf5284572d Mon Sep 17 00:00:00 2001 From: hjunes Date: Tue, 15 Jul 2003 22:17:49 +0000 Subject: [PATCH] add a comment about LilyPond specific escape characters --- ChangeLog | 5 +++++ lilypond-font-lock.el | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0a628fb956..c3f27b2ef6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-07-16 Heikki Junes + + * lilypond-font-lock.el: add a comment about LilyPond specific + escape characters: ^, - and _, in the syntax table. + 2003-07-15 Han-Wen Nienhuys * input/test/trills.ly (endHorizScript): fixes. diff --git a/lilypond-font-lock.el b/lilypond-font-lock.el index 6e1e6ee91b..b4ab0cf84f 100644 --- a/lilypond-font-lock.el +++ b/lilypond-font-lock.el @@ -152,7 +152,10 @@ ( ?\$ . "." ) ( ?\& . "." ) ( ?\* . "." ) ( ?\+ . "." ) ( ?\/ . "." ) ( ?\= . "." ) ( ?\| . "." ) ; bar line - ( ?\- . "." ) ( ?\_ . "." ) ( ?\^ . "." ) ; accent positioners + ;; In LilyPond the following chars serve as escape chars, + ;; e.g., c^> d-) e_( , but they are set to punctuation chars, + ;; since inside strings they should not act as escape chars + ( ?\- . "\\" ) ( ?\_ . "." ) ( ?\^ . "." ) )) ) -- 2.39.5