emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master a306960: * lisp/nxml/nxml-mode.el (nxml-mode): Use


From: Stefan Monnier
Subject: [Emacs-diffs] master a306960: * lisp/nxml/nxml-mode.el (nxml-mode): Use new sgml-syntax-propertize.
Date: Tue, 28 Feb 2017 09:35:29 -0500 (EST)

branch: master
commit a3069604d5d672975ee9e421881fad9be95aaf54
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * 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 7f9ece7..7e33e74 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]