bug#80837: treesit-forward-comment off-by-one issue: overshoots by one character

Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]> Thu, 30 Jul 2026 16:23:26 -0400
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
> -(defun treesit-forward-comment (&optional count)
> +(defun treesit-forward-comment (count)

I'd refrain from including this part of the change.

Also, I'm not sure we need the whole `treesit--likely-line-comment-p`:
can we just test if `comment-end` is nil instead?


=== Stefan