]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't remove `fontified' in nxml--buffer-substring-filter
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 16 Aug 2021 11:17:25 +0000 (13:17 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 16 Aug 2021 11:17:25 +0000 (13:17 +0200)
* lisp/nxml/nxml-mode.el (nxml--buffer-substring-filter): Removing
`fontified' is probably unnecessary (bug#50061).

lisp/nxml/nxml-mode.el

index b7d1b190e8542508231daf462ee8e6b9b57deaa1..405f803325cd1647d1e83464e876d6a6b330a7fc 100644 (file)
@@ -572,9 +572,7 @@ Many aspects this mode can be customized using
   (when (seq-find (lambda (elem)
                     (plist-get (nth 2 elem) 'rng-state))
                   (object-intervals string))
-    (remove-text-properties 0 (length string)
-                            '(rng-state nil fontified nil)
-                            string))
+    (remove-text-properties 0 (length string) '(rng-state nil) string))
     string)
 
 (defun nxml-cleanup ()