aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diffseq.h
diff options
context:
space:
mode:
authorJuri Linkov2025-05-05 19:57:29 +0300
committerJuri Linkov2025-05-05 19:57:29 +0300
commit61cb73a2dbe756b060d4256c3b7ebe09f71ed2b7 (patch)
treee33421c2409bdef2c1eda7a0fe35a59f946d07d1 /lib/diffseq.h
parente5746d3677b86ef3d0ba0d7f1e916180cc4b6f69 (diff)
downloademacs-61cb73a2dbe756b060d4256c3b7ebe09f71ed2b7.tar.gz
emacs-61cb73a2dbe756b060d4256c3b7ebe09f71ed2b7.zip
New variable 'comment-setup-function' for multi-language modes.
* lisp/newcomment.el (comment-setup-function): New variable. (comment-normalize-vars): Call non-nil 'comment-setup-function'. * lisp/textmodes/mhtml-ts-mode.el (mhtml-ts-mode--comment-current-lang): New internal variable. (mhtml-ts-mode--comment-setup): New function. (mhtml-ts-mode): Set 'comment-setup-function' to 'mhtml-ts-mode--comment-setup' instead of using 'c-ts-common-comment-setup' only for JavaScript. https://lists.gnu.org/archive/html/emacs-devel/2025-05/msg00025.html
Diffstat (limited to 'lib/diffseq.h')
0 files changed, 0 insertions, 0 deletions