]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/nxml/nxml-mode.el (nxml-mode): Use new sgml-syntax-propertize.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 28 Feb 2017 14:35:25 +0000 (09:35 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 28 Feb 2017 14:35:25 +0000 (09:35 -0500)
lisp/nxml/nxml-mode.el

index 7f9ece7914a9c38f9f50f7654d3717743cc8261b..7e33e743de0a09a170b674b95293b5dd62785c6b 100644 (file)
@@ -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