aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorJuri Linkov2025-01-25 20:14:15 +0200
committerJuri Linkov2025-01-25 20:14:15 +0200
commit63df2164903e0cd6819187483a64b892aa7e0219 (patch)
treecaa5640f74fa1f8e273bc3056f8021e62fdf8a47 /src/data.c
parent3bc6b88cc71b8ccc96b5e61d895e5208009aa3c0 (diff)
downloademacs-63df2164903e0cd6819187483a64b892aa7e0219.tar.gz
emacs-63df2164903e0cd6819187483a64b892aa7e0219.zip
Add 'treesit-forward-comment' with 'forward-comment-function'
* lisp/treesit.el (treesit-forward-comment): New function. (treesit-major-mode-setup): Set 'forward-comment-function' to 'treesit-forward-comment' if the 'comment' thing is defined. * src/syntax.c (forward-comment-function): New variable. (Fforward_comment): Call the function from 'forward-comment-function' when it's non-nil (bug#75609).
Diffstat (limited to 'src/data.c')
0 files changed, 0 insertions, 0 deletions