emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 72786ae237: ; Restore ARGS argument in c-ts-mode--fontify-decla


From: Juanma Barranquero
Subject: emacs-29 72786ae237: ; Restore ARGS argument in c-ts-mode--fontify-declarator
Date: Sun, 25 Dec 2022 07:02:43 -0500 (EST)

branch: emacs-29
commit 72786ae237e66ff42385a2ac36f422ebb21072df
Author: Juanma Barranquero <lekktu@gmail.com>
Commit: Juanma Barranquero <lekktu@gmail.com>

    ; Restore ARGS argument in c-ts-mode--fontify-declarator
    
    * lisp/progmodes/c-ts-mode.el (c-ts-mode--fontify-declarator):
    Restore argument name referenced in the docstring.
---
 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 42621371ff..1d211da176 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 _)
+(defun c-ts-mode--fontify-declarator (node override start end &rest _args)
   "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]