Files
emacs/lisp
Yuan Fu ec00d292ec Improve treesit-fontify-with-override
This also fixes fontification problem with c-ts-mode--fontify-defun.

Now treesit-fontify-with-override clips the fontification region for
the user, so no need for (max start node-start) shenanigans anymore.
More importantly it doesn't fontify unless the region between
node-start and node-end intersects with the region between start and
end, which fixes the problem with c-ts-mode--fontify-defun.

* lisp/treesit.el (treesit-fontify-with-override): Add optional
parameter BOUND-START and BOUND-END.  Wrap the function body in a
when-form.
* lisp/progmodes/c-ts-mode.el (c-ts-mode--fontify-declarator)
(c-ts-mode--fontify-variable)
(c-ts-mode--fontify-defun)
(c-ts-fontify-error)
* lisp/progmodes/js.el (js--fontify-template-string)
* lisp/progmodes/python.el (python--treesit-fontify-string): Use the
new signature.
2022-12-04 20:03:28 -08:00
..
2022-11-24 14:27:51 +01:00
2022-12-03 15:39:43 +01:00
2022-11-29 00:01:13 -05:00
2022-11-20 12:59:39 +01:00
2022-10-26 23:04:23 +02:00
2022-11-21 15:20:11 +01:00
2022-11-21 15:20:11 +01:00
2022-11-18 16:02:19 +01:00
2022-11-20 12:59:39 +01:00
2022-10-26 23:04:23 +02:00
2022-10-27 23:04:37 +02:00
2022-11-28 21:28:12 +02:00
2022-11-19 12:51:31 +01:00
2022-11-18 16:02:19 +01:00
2022-11-20 12:59:39 +01:00
2022-11-11 15:52:37 +01:00
2022-11-28 19:47:35 +02:00
2022-10-15 17:22:48 +02:00
2022-11-18 16:02:19 +01:00
2022-11-18 16:02:19 +01:00
2022-10-30 09:40:06 -04:00
2022-11-15 19:48:39 +08:00
2022-10-26 23:04:23 +02:00
2022-10-26 23:04:23 +02:00
2022-09-27 15:29:33 +02:00
2022-11-18 16:02:19 +01:00
2022-11-11 15:52:37 +01:00
2022-09-28 17:34:59 +02:00
2022-11-23 05:49:22 +01:00
2022-11-18 16:09:05 +01:00
2022-12-01 15:33:12 +01:00
2022-11-20 12:59:39 +01:00
2022-10-20 20:50:34 +03:00
2022-11-28 13:18:37 +01:00
2022-11-18 16:02:19 +01:00
2022-12-01 20:15:52 +02:00
2022-11-11 15:52:37 +01:00
2022-11-18 16:02:19 +01:00
2022-11-18 13:06:55 +01:00
2022-12-03 15:39:43 +01:00
2022-11-21 15:20:11 +01:00
2022-11-26 11:05:58 +01:00
2022-11-18 13:06:55 +01:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
'term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.