projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4234033
)
; Fix byte-copmiler warning in c-ts-mode--fontify-declarator
author
Yuan Fu
<casouri@gmail.com>
Sun, 25 Dec 2022 08:29:15 +0000
(
00:29
-0800)
committer
Yuan Fu
<casouri@gmail.com>
Sun, 25 Dec 2022 09:11:47 +0000
(
01:11
-0800)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--fontify-declarator): Ignore
the rest args.
lisp/progmodes/c-ts-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-ts-mode.el
b/lisp/progmodes/c-ts-mode.el
index 5fc44b11e1494c6f68412e2e8d2ef02312627763..42621371ff1cf2f2078bf8ed707ced298a87fecc 100644
(file)
--- a/
lisp/progmodes/c-ts-mode.el
+++ b/
lisp/progmodes/c-ts-mode.el
@@
-402,7
+402,7
@@
MODE is either `c' or `cpp'."
((or "identifier" "field_identifier")
node)))
-(defun c-ts-mode--fontify-declarator (node override start end &rest
args
)
+(defun c-ts-mode--fontify-declarator (node override start end &rest
_
)
"Fontify a declarator (whatever under the \"declarator\" field).
For NODE, OVERRIDE, START, END, and ARGS, see
`treesit-font-lock-rules'."