Subject: bug#63579: org-babal-lilypond fontification error

From: Ihor Radchenko <[email-masked]>
Date: Fri, 19 May 2023 09:09:02 +0000

Jonas Damm <[email-masked]> writes:

> User-agent: mu4e 1.8.13; emacs 29.0.91
> Example:
>
> Hi,
> I am using org-babel to create music sheets with lilypond.
> For some reason the fontification is not working anymore:
>
> [2. text/x-org]
> #+begin_src lilypond
>
>   \relative c' {
>     c d e f g
>     }
>
> #+end_src

This is a problem with lilypond:

Debugger entered--Lisp error: (void-variable font-lock-reference-face)
  (eval font-lock-reference-face t)
  (#f(compiled-function (highlight) "Apply HIGHLIGHT following a match.\nHIGHLIGHT should be of the form MATCH-HIGHLIGHT, see `font-lock-keywords'." #<bytecode -0xf53eae0ec5f928c>) (0 font-lock-reference-face t))
  (font-lock-fontify-keywords-region 1 42 nil)
  (font-lock-default-fontify-region 1 42 nil)
  (font-lock-fontify-region 1 42)
  (#f(compiled-function (beg end) #<bytecode -0x19f31ec42bd98447>) 1 42)
  (font-lock-ensure)

`font-lock-reference-face' is an obsolete variable that has been removed
in Emacs 29.

Please report this issue to Lilypond developers. See
https://lilypond.org/bug-reports.html

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>