summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/nxml/nxml-mode.el4
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 ()