Don't remove `fontified' in nxml--buffer-substring-filter

* lisp/nxml/nxml-mode.el (nxml--buffer-substring-filter): Removing
`fontified' is probably unnecessary (bug#50061).
This commit is contained in:
Lars Ingebrigtsen 2021-08-16 13:17:25 +02:00
parent 3502321403
commit 42be416578

View 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 ()