From e6c49c0454eff3fbf9247fc19aa4a0aac8f9388f Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Sun, 25 Dec 2022 00:29:15 -0800 Subject: [PATCH] ; Fix byte-copmiler warning in c-ts-mode--fontify-declarator * lisp/progmodes/c-ts-mode.el (c-ts-mode--fontify-declarator): Ignore the rest args. --- lisp/progmodes/c-ts-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el index 5fc44b11e14..42621371ff1 100644 --- 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'." -- 2.39.2