]> git.donarmstrong.com Git - lilypond.git/blobdiff - lilypond-indent.el
juergen, heikki, chris patch.
[lilypond.git] / lilypond-indent.el
index 06cfd50e3a4ec55b5cd29d9059db1876ed37b5f8..4e11faae60d050b74098481dec23e210a7de4d6e 100644 (file)
@@ -255,7 +255,7 @@ Argument LIM limit."
 ;; are handled by the syntax table
 
 (defconst LilyPond-parens-regexp-alist
-  `( ( ?>  .  ("[^\\]<" . "[^ \\n\\t_^-]\\s-*>\\|[_^-]\\s-*[-^]\\s-*>"))
+  `( ( ?>  .  ("\\([^\\]\\|^\\)<" . "[^ \\n\\t_^-]\\s-*>\\|[_^-]\\s-*[-^]\\s-*>"))
      ;; a b c->, a b c^> and a b c_> are not close-angle-brackets, they're accents
      ;; but a b c^-> and a b c^^> are close brackets with tenuto/marcato before them
      ;; also \> and \< are hairpins