From: Yuan Fu Date: Tue, 6 Dec 2022 08:17:04 +0000 (-0800) Subject: ; Improve docstring of c-ts-mode--fontify-variable X-Git-Tag: emacs-29.0.90~1332 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c6b454df339;p=emacs.git ; Improve docstring of c-ts-mode--fontify-variable * lisp/progmodes/c-ts-mode.el (c-ts-mode--fontify-variable): Improve docstring. --- 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))