* lisp/nxml/nxml-mode.el (nxml-mode): Use new sgml-syntax-propertize.
This commit is contained in:
parent
0055190174
commit
a3069604d5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue