[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 42be416 1/2: Don't remove `fontified' in nxml--buffer-substring-f
From: |
Lars Ingebrigtsen |
Subject: |
master 42be416 1/2: Don't remove `fontified' in nxml--buffer-substring-filter |
Date: |
Mon, 16 Aug 2021 07:20:48 -0400 (EDT) |
branch: master
commit 42be41657813ae606427aa53d2f0f0b7039d3ef1
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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 b7d1b19..405f803 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 ()