mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
* lisp/newcomment.el (comment-start-line-regexp): New variable (bug#80837). * lisp/progmodes/c-ts-common.el (c-ts-common-comment-setup): * lisp/progmodes/cmake-ts-mode.el (cmake-ts-mode): * lisp/progmodes/dockerfile-ts-mode.el (dockerfile-ts-mode): * lisp/progmodes/elixir-ts-mode.el (elixir-ts-mode): * lisp/progmodes/go-ts-mode.el (go-work-ts-mode): * lisp/progmodes/json-ts-mode.el (json-ts-mode): * lisp/progmodes/lua-ts-mode.el (lua-ts-mode): * lisp/progmodes/php-ts-mode.el (php-ts-mode--comment-setup): * lisp/progmodes/python.el (python-base-mode): * lisp/progmodes/ruby-mode.el (ruby-base-mode): * lisp/progmodes/sh-script.el (sh-base-mode): * lisp/textmodes/mhtml-ts-mode.el (mhtml-ts-mode--comment-setup): * lisp/textmodes/toml-ts-mode.el (toml-ts-mode): * lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode): Set it. * doc/emacs/programs.texi (Options for Comments): * etc/NEWS: Document it. * lisp/progmodes/c-ts-common.el (c-ts-common-comment-start-line-regexp): New variable. * lisp/treesit.el (newcomment): Require. (treesit--likely-line-comment-p): New function. (treesit-forward-comment): Use it. Make COUNT parameter non-optional. |
||
|---|---|---|
| .. | ||
| emacs | ||
| lispintro | ||
| lispref | ||
| man | ||
| misc | ||
| translations | ||