emacs/lisp/textmodes
Juri Linkov 840be8a7d8 New variable 'treesit-aggregated-outline-predicate' (bug#76398)
* doc/lispref/modes.texi (Outline Minor Mode):
Add 'treesit-aggregated-outline-predicate'.

* lisp/treesit.el (treesit-aggregated-outline-predicate):
New buffer-local variable.
(treesit-outline--at-point):
Use 'treesit-aggregated-outline-predicate'.
(treesit-closest-parser-boundary): New function.
(treesit-outline-search): Use 'treesit-aggregated-outline-predicate'
and 'treesit-closest-parser-boundary'.
(treesit-outline-level): Use 'treesit-aggregated-outline-predicate'.
(treesit-major-mode-setup): Add 'treesit-aggregated-outline-predicate'.

* lisp/textmodes/html-ts-mode.el (html-ts-mode--outline-predicate):
Improve.

* lisp/textmodes/mhtml-ts-mode.el (mhtml-ts-mode):
Set 'treesit-aggregated-outline-predicate'.
2025-02-21 09:55:54 +02:00
..
artist.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bib-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bibtex-style.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bibtex.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
conf-mode.el Prefer defvar-keymap in conf-mode.el 2025-02-19 23:36:07 +01:00
css-mode.el Add mhtml-ts-mode. 2025-02-17 09:22:22 +02:00
dns-mode.el Prefer plusp/minusp to cl-plusp/cl-minusp 2025-02-17 22:46:56 +01:00
emacs-authors-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
emacs-news-mode.el Delete redundant lambdas around unary functions 2025-02-11 19:04:00 +01:00
enriched.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
fill.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
flyspell.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
glyphless-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
html-ts-mode.el New variable 'treesit-aggregated-outline-predicate' (bug#76398) 2025-02-21 09:55:54 +02:00
ispell.el Delete redundant lambdas around unary functions 2025-02-11 19:04:00 +01:00
less-css-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
makeinfo.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
markdown-ts-mode.el ; Fix copyright year in last commit 2025-02-18 21:56:00 +01:00
mhtml-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
mhtml-ts-mode.el New variable 'treesit-aggregated-outline-predicate' (bug#76398) 2025-02-21 09:55:54 +02:00
nroff-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
page-ext.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
page.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
paragraphs.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
picture.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
pixel-fill.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
po.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
refbib.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
refer.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
refill.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-auc.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-cite.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-dcr.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-global.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-index.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-parse.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-ref.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-sel.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-toc.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-vars.el Remove support for supertabular from RefTeX 2025-01-08 20:47:43 +01:00
reftex.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
remember.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
rst.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
sgml-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
string-edit.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
table.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tex-mode.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
texinfmt.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
texinfo.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
texnfo-upd.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
text-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tildify.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
toml-ts-mode.el Improve treesit settings for {json,html,toml,yaml}-ts-mode (bug#73404) 2025-02-09 19:54:02 +02:00
two-column.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
underline.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
word-wrap-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
yaml-ts-mode.el ; Declare treesit.c functions 2025-02-15 14:53:59 +02:00