diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-16 13:17:25 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-16 13:17:25 +0200 |
commit | 42be41657813ae606427aa53d2f0f0b7039d3ef1 (patch) | |
tree | bcea800f1ef0434e7673dbb2437eb34d0dffdeb9 | |
parent | 35023214031e130b43fd14f5ee7cd07e778b8176 (diff) | |
download | emacs-42be41657813ae606427aa53d2f0f0b7039d3ef1.tar.gz |
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).
-rw-r--r-- | lisp/nxml/nxml-mode.el | 4 |
1 files changed, 1 insertions, 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 () |