aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorJuri Linkov2025-09-18 18:20:15 +0300
committerJuri Linkov2025-09-18 18:20:15 +0300
commit27853a2bca63b339bb2264d6c92c7c5ddcd51a75 (patch)
tree169fb36e79e4de13afc77d629cb86419a750534b /lisp/textmodes
parent0767f1818a25f1efeefeb24a96eecf553396b2ed (diff)
downloademacs-27853a2bca63b339bb2264d6c92c7c5ddcd51a75.tar.gz
emacs-27853a2bca63b339bb2264d6c92c7c5ddcd51a75.zip
* lisp/textmodes/mhtml-ts-mode.el: Fix for recent changes in js-ts-mode.
(mhtml-ts-mode--treesit-font-lock-settings): Replace variable 'js--treesit-font-lock-settings' with the function call. (mhtml-ts-mode--treesit-indent-rules): Replace variable 'js--treesit-indent-rules' with the function call (bug#79363).
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/mhtml-ts-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/mhtml-ts-mode.el b/lisp/textmodes/mhtml-ts-mode.el
index 793e28ed0de..94350d6d304 100644
--- a/lisp/textmodes/mhtml-ts-mode.el
+++ b/lisp/textmodes/mhtml-ts-mode.el
@@ -261,7 +261,7 @@ NODE and PARENT are ignored."
261 261
262(defvar mhtml-ts-mode--treesit-font-lock-settings 262(defvar mhtml-ts-mode--treesit-font-lock-settings
263 (append html-ts-mode--font-lock-settings 263 (append html-ts-mode--font-lock-settings
264 js--treesit-font-lock-settings 264 (js--treesit-font-lock-settings)
265 ;; Let's replace a css rule with a new one that adds color to 265 ;; Let's replace a css rule with a new one that adds color to
266 ;; the css value. 266 ;; the css value.
267 (treesit-replace-font-lock-feature-settings 267 (treesit-replace-font-lock-feature-settings
@@ -308,7 +308,7 @@ NODE and PARENT are ignored."
308 `((javascript ((parent-is "program") 308 `((javascript ((parent-is "program")
309 mhtml-ts-mode--js-css-tag-bol 309 mhtml-ts-mode--js-css-tag-bol
310 mhtml-ts-mode--js-css-indent-offset))) 310 mhtml-ts-mode--js-css-indent-offset)))
311 js--treesit-indent-rules 311 (js--treesit-indent-rules)
312 :replace) 312 :replace)
313 (treesit-simple-indent-modify-rules 313 (treesit-simple-indent-modify-rules
314 'css 314 'css