GNU bug report logs - #77017
31.0.50; Build warning from mhtml-ts-mode

Previous Next

Package: emacs;

Reported by: jm <at> pub.pink

Date: Fri, 14 Mar 2025 17:19:02 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Vincenzo Pupillo <v.pupillo <at> gmail.com>
Cc: 77017 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, jm <at> pub.pink
Subject: bug#77017: 31.0.50; Build warning from mhtml-ts-mode
Date: Sun, 30 Mar 2025 09:41:12 +0300
> --- a/lisp/textmodes/mhtml-ts-mode.el
> +++ b/lisp/textmodes/mhtml-ts-mode.el
> @@ -50,13 +50,23 @@
>  ;;; Code:
>  
>  (require 'treesit)
> -(require 'html-ts-mode)
>  (require 'css-mode) ;; for embed css into html
>  (require 'js) ;; for embed javascript into html

This change broke loading of mhtml-ts-mode:

0. emacs -Q
1. visit an html file
2. M-x mhtml-ts-mode

Debugger entered--Lisp error: (void-variable html-ts-mode--treesit-font-lock-feature-list)
  (defvar mhtml-ts-mode--treesit-font-lock-feature-list ...)
  command-execute(mhtml-ts-mode record)
  execute-extended-command(nil "mhtml-ts-mode" nil)
  funcall-interactively(execute-extended-command nil "mhtml-ts-mode" nil)
  command-execute(execute-extended-command)




This bug report was last modified 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.