From: Stefan Monnier Date: Tue, 28 Feb 2017 14:35:25 +0000 (-0500) Subject: * lisp/nxml/nxml-mode.el (nxml-mode): Use new sgml-syntax-propertize. X-Git-Tag: emacs-26.0.90~694 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a3069604d5d672975ee9e421881fad9be95aaf54;p=emacs.git * lisp/nxml/nxml-mode.el (nxml-mode): Use new sgml-syntax-propertize. --- 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