From 42be41657813ae606427aa53d2f0f0b7039d3ef1 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 16 Aug 2021 13:17:25 +0200 Subject: [PATCH] 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). --- lisp/nxml/nxml-mode.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el index b7d1b190e85..405f803325c 100644 --- a/lisp/nxml/nxml-mode.el +++ b/lisp/nxml/nxml-mode.el @@ -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 () -- 2.39.5