GNU bug report logs - #59528
[PATCH] Fix "void-function treesit-font-lock-rules" error

Previous Next

Package: emacs;

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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Shohei YOSHIDA <syohex <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Shohei YOSHIDA <syohex <at> gmail.com>
Subject: [PATCH] Fix "void-function treesit-font-lock-rules" error
Date: Thu, 24 Nov 2022 12:18:48 +0900
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





This bug report was last modified 2 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.