GNU bug report logs -
#59528
[PATCH] Fix "void-function treesit-font-lock-rules" error
Previous Next
Reported by: Shohei YOSHIDA <syohex <at> gmail.com>
Date: Thu, 24 Nov 2022 03:20:02 UTC
Severity: normal
Tags: patch
Done: Yuan Fu <casouri <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
How to reproduce this bug
1. emacs -Q a.cs
2. You get an error. File mode specification error: (void-function
treesit-font-lock-rules)
I use d47e05219f963c28be3b018f31d232aa8eeb200f revision
On Thu, Nov 24, 2022 at 12:20 PM Shohei YOSHIDA <syohex <at> gmail.com> wrote:
> Load treesit for using its functions
> ---
> lisp/progmodes/csharp-mode.el | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lisp/progmodes/csharp-mode.el b/lisp/progmodes/csharp-mode.el
> index 23d7b05d50..c507de94e0 100644
> --- a/lisp/progmodes/csharp-mode.el
> +++ b/lisp/progmodes/csharp-mode.el
> @@ -27,6 +27,7 @@
> (require 'compile)
> (require 'cc-mode)
> (require 'cc-langs)
> +(require 'treesit)
>
> (eval-when-compile
> (require 'cc-fonts))
> --
> 2.37.2
>
>
>
>
>
--
Shohei YOSHIDA(syohex <at> gmail.com)
<http://b.hatena.ne.jp/entry/https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.ja.tLQrNXCHmdo.O/m=m_i,t,it/am=nBHH5b_7g8gZ7tIn1f7977tLmp39J3_3JgBC2Amo_5v9P4jWA_ug_FA/rt=h/d=1/t=zcms/rs=AItRSTNJwrjV1i8LKqdsHFfbx47Tnlb-Bw>
[Message part 2 (text/html, inline)]
This bug report was last modified 2 years and 181 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.