summaryrefslogtreecommitdiff
path: root/lisp/textmodes/mhtml-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes/mhtml-mode.el')
-rw-r--r--lisp/textmodes/mhtml-mode.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/textmodes/mhtml-mode.el b/lisp/textmodes/mhtml-mode.el
index 17298ccf5f7..7de24c783f0 100644
--- a/lisp/textmodes/mhtml-mode.el
+++ b/lisp/textmodes/mhtml-mode.el
@@ -21,7 +21,9 @@
;;; Code:
-(eval-and-compile (require 'sgml-mode))
+(eval-and-compile
+ (require 'cl-lib)
+ (require 'sgml-mode))
(require 'js)
(require 'css-mode)
(require 'prog-mode)
@@ -363,7 +365,6 @@ Code inside a <script> element is indented using the rules from
`js-mode'; and code inside a <style> element is indented using
the rules from `css-mode'."
(setq-local indent-line-function #'mhtml-indent-line)
- (setq-local parse-sexp-lookup-properties t)
(setq-local syntax-propertize-function #'mhtml-syntax-propertize)
(setq-local font-lock-fontify-region-function
#'mhtml--submode-fontify-region)