diff options
author | Yuan Fu <casouri@gmail.com> | 2022-12-06 00:17:04 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-12-06 13:43:58 -0800 |
commit | c6b454df339f8b767e23247d48a78749f9e54e1c (patch) | |
tree | 5eb5c587edad764b411c94babbe57a475b9230f6 /lisp/progmodes/c-ts-mode.el | |
parent | 6187d001f28e65b642dbb5e3001b97c5bdc39918 (diff) | |
download | emacs-c6b454df339f8b767e23247d48a78749f9e54e1c.tar.gz emacs-c6b454df339f8b767e23247d48a78749f9e54e1c.tar.bz2 emacs-c6b454df339f8b767e23247d48a78749f9e54e1c.zip |
; Improve docstring of c-ts-mode--fontify-variable
* lisp/progmodes/c-ts-mode.el (c-ts-mode--fontify-variable): Improve
docstring.
Diffstat (limited to 'lisp/progmodes/c-ts-mode.el')
-rw-r--r-- | lisp/progmodes/c-ts-mode.el | 4 |
1 files 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)) |