emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 c6b454df339 2/4: ; Improve docstring of c-ts-mode--fontify-vari


From: Yuan Fu
Subject: emacs-29 c6b454df339 2/4: ; Improve docstring of c-ts-mode--fontify-variable
Date: Tue, 6 Dec 2022 16:44:41 -0500 (EST)

branch: emacs-29
commit c6b454df339f8b767e23247d48a78749f9e54e1c
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    ; Improve docstring of c-ts-mode--fontify-variable
    
    * lisp/progmodes/c-ts-mode.el (c-ts-mode--fontify-variable): Improve
    docstring.
---
 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 400af2db19e..1691a5c31d6 100644
--- a/lisp/progmodes/c-ts-mode.el
+++ b/lisp/progmodes/c-ts-mode.el
@@ -372,8 +372,8 @@ For NODE, OVERRIDE, START, END, and ARGS, see
       override start end))))
 
 (defun c-ts-mode--fontify-variable (node override start end &rest _)
-  "Fontify an identifier node.
-Fontify it if NODE is not a function identifier.  For NODE,
+  "Fontify an identifier node if it is a variable.
+Don't fontify if it is a function identifier.  For NODE,
 OVERRIDE, START, END, and ARGS, see `treesit-font-lock-rules'."
   (when (not (equal (treesit-node-type
                      (treesit-node-parent node))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]