Commit a3069604 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/nxml/nxml-mode.el (nxml-mode): Use new sgml-syntax-propertize.

parent 00551901
......@@ -518,7 +518,7 @@ Many aspects this mode can be customized using
(nxml-with-invisible-motion
(nxml-scan-prolog)))))
(setq-local syntax-ppss-table sgml-tag-syntax-table)
(setq-local syntax-propertize-function sgml-syntax-propertize-function)
(setq-local syntax-propertize-function #'sgml-syntax-propertize)
(add-hook 'change-major-mode-hook #'nxml-cleanup nil t)
;; Emacs 23 handles the encoding attribute on the xml declaration
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment