1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-15 07:41:09 -08:00
emacs/doc
Yuan Fu 040991a469
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.
2022-11-02 11:26:38 -07:00
..
emacs image-dired: Shorten several long names 2022-10-04 17:36:09 +02:00
lispintro Abolish max-specpdl-size (bug#57911) 2022-09-19 19:30:03 +02:00
lispref Change signature of tree-sitter font-lock functions 2022-11-02 11:26:38 -07:00
man Add new --timeout flag to emacsclient 2022-09-06 02:05:18 +02:00
misc Adapt Tramp manual 2022-10-05 17:11:33 +02:00