emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 e6c49c0454 4/5: ; Fix byte-copmiler warning in c-ts-mode--fonti


From: Yuan Fu
Subject: emacs-29 e6c49c0454 4/5: ; Fix byte-copmiler warning in c-ts-mode--fontify-declarator
Date: Sun, 25 Dec 2022 04:11:59 -0500 (EST)

branch: emacs-29
commit e6c49c0454eff3fbf9247fc19aa4a0aac8f9388f
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    ; 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 5fc44b11e1..42621371ff 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'."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]