[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 5257b9cda43 3/4: ; Rename c-ts-fontify-error to c-ts-mode--font
From: |
Yuan Fu |
Subject: |
emacs-29 5257b9cda43 3/4: ; Rename c-ts-fontify-error to c-ts-mode--fontify-error |
Date: |
Tue, 6 Dec 2022 16:44:41 -0500 (EST) |
branch: emacs-29
commit 5257b9cda43ea6f87843a9dcfad067a1a4c0bb8e
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; Rename c-ts-fontify-error to c-ts-mode--fontify-error
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings)
(c-ts-fontify-error): Rename.
---
lisp/progmodes/c-ts-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
index 1691a5c31d6..0c66b4959e0 100644
--- a/lisp/progmodes/c-ts-mode.el
+++ b/lisp/progmodes/c-ts-mode.el
@@ -319,7 +319,7 @@ MODE is either `c' or `cpp'."
:language mode
:feature 'error
- '((ERROR) @c-ts-fontify-error)
+ '((ERROR) @c-ts-mode--fontify-error)
:feature 'escape-sequence
:language mode
@@ -421,7 +421,7 @@ This function corrects the fontification on the colon in
(treesit-node-start arg) (treesit-node-end arg)
'default override start end))))))
-(defun c-ts-fontify-error (node override start end &rest _)
+(defun c-ts-mode--fontify-error (node override start end &rest _)
"Fontify the error nodes.
For NODE, OVERRIDE, START, and END, see
`treesit-font-lock-rules'."