* lisp/progmodes/js.el (js-ts-mode):
* lisp/progmodes/typescript-ts-mode.el (typescript-ts-base-mode):
Add 'c-ts-common-comment-setup' back removed in
8bccccedb65a
since it does more than setting comment variables (bug#78680).
(cherry picked from commit
6b668c2213432db04d29d36b8bf25a8f3f853c62)
;; Which-func.
(setq-local which-func-imenu-joiner-function #'js--which-func-joiner)
;; Comment.
+ (c-ts-common-comment-setup)
(setq-local comment-setup-function #'js--treesit-comment-setup)
(setq-local comment-multi-line t)
:syntax-table typescript-ts-mode--syntax-table
;; Comments.
+ (c-ts-common-comment-setup)
(setq-local comment-setup-function #'js--treesit-comment-setup)
;; Electric