From a3069604d5d672975ee9e421881fad9be95aaf54 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 28 Feb 2017 09:35:25 -0500 Subject: [PATCH] * lisp/nxml/nxml-mode.el (nxml-mode): Use new sgml-syntax-propertize. --- lisp/nxml/nxml-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el index 7f9ece7914a..7e33e743de0 100644 --- a/lisp/nxml/nxml-mode.el +++ b/lisp/nxml/nxml-mode.el @@ -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 -- 2.39.5