Subject: bug#59528: closed (Re: bug#59528: [PATCH] Fix "void-function treesit-font-lock-rules" error)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 24 Nov 2022 03:53:02 +0000

Your bug report

#59528: [PATCH] Fix "void-function treesit-font-lock-rules" error

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
59528: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59528
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#59528: [PATCH] Fix "void-function treesit-font-lock-rules" error
From: Yuan Fu <[email-masked]>
To: Shohei Yoshida <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Wed, 23 Nov 2022 19:51:56 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

> On Nov 23, 2022, at 7:30 PM, Shohei Yoshida <[email-masked]> wrote:
> 
> 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 <[email-masked]> wrote:
> Load treesit for using its functions

Thanks! this should be fixed now.

Yuan

Subject: [PATCH] Fix "void-function treesit-font-lock-rules" error
From: Shohei YOSHIDA <[email-masked]>
To: [email-masked]
Cc: Shohei YOSHIDA <[email-masked]>
Date: Thu, 24 Nov 2022 12:18:48 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

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