aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYuan Fu2022-11-02 11:26:38 -0700
committerYuan Fu2022-11-02 11:26:38 -0700
commit040991a4697b50ebcb54e498e7de54b8d0885101 (patch)
treee0d1cc29f342653c4b140cb63b0d48d99d83cd81 /src
parent50e33639fe190f0a1c47b8e4c0fcc4735cb60909 (diff)
downloademacs-040991a4697b50ebcb54e498e7de54b8d0885101.tar.gz
emacs-040991a4697b50ebcb54e498e7de54b8d0885101.zip
Change signature of tree-sitter font-lock functions
Change from (START END NODE OVERRIDE &rest _) to (NODE OVERRIDE &rest _) START and END aren't used frequently enough to justify. If a fontification function needs them, it can get them from NODE. * doc/lispref/modes.texi (Parser-based Font Lock): Update manual. * lisp/progmodes/js.el (js--fontify-template-string) * lisp/progmodes/python.el (python--treesit-fontify-string) (python--treesit-fontify-string-end): Change signature. * lisp/treesit.el (treesit-font-lock-rules): Update docstring. (treesit-font-lock-fontify-region): Remove START and END arguments.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions