From: Lars Ingebrigtsen Date: Mon, 16 Aug 2021 11:17:25 +0000 (+0200) Subject: Don't remove `fontified' in nxml--buffer-substring-filter X-Git-Tag: emacs-28.0.90~1486 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=42be41657813ae606427aa53d2f0f0b7039d3ef1;p=emacs.git 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). --- 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 ()