From: Yuan Fu Date: Sun, 25 Dec 2022 08:29:15 +0000 (-0800) Subject: ; Fix byte-copmiler warning in c-ts-mode--fontify-declarator X-Git-Tag: emacs-29.0.90~998 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e6c49c0454eff3fbf9247fc19aa4a0aac8f9388f;p=emacs.git ; 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. --- 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'."