summaryrefslogtreecommitdiff
path: root/lisp/nxml/nxml-mode.el
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2013-03-23 10:21:25 +0800
committerLeo Liu <sdl.web@gmail.com>2013-03-23 10:21:25 +0800
commit7e74b0fb885b1283e8052db5012a61dab85a7b9a (patch)
tree9db2b023e1788139c592c5d045a1d693e0f410ab /lisp/nxml/nxml-mode.el
parenta320a2dbc9840dc1106f14b5f43b0ca0edf2a597 (diff)
downloademacs-7e74b0fb885b1283e8052db5012a61dab85a7b9a.tar.gz
* lisp/nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
Remove. * lisp/nxml/rng-valid.el (rng-validate-mode) (rng-after-change-function, rng-do-some-validation): * lisp/nxml/rng-maint.el (rng-validate-buffer): * lisp/nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date): * lisp/nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state): * lisp/nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change) (nxml-extend-after-change-region): Use with-silent-modifications.
Diffstat (limited to 'lisp/nxml/nxml-mode.el')
-rw-r--r--lisp/nxml/nxml-mode.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el
index 2ee73235dd0..44271a689cf 100644
--- a/lisp/nxml/nxml-mode.el
+++ b/lisp/nxml/nxml-mode.el
@@ -540,7 +540,7 @@ Many aspects this mode can be customized using
(widen)
(nxml-clear-dependent-regions (point-min) (point-max))
(setq nxml-scan-end (copy-marker (point-min) nil))
- (nxml-with-unmodifying-text-property-changes
+ (with-silent-modifications
(nxml-clear-inside (point-min) (point-max))
(nxml-with-invisible-motion
(nxml-scan-prolog)))))
@@ -601,7 +601,7 @@ Many aspects this mode can be customized using
(save-excursion
(save-restriction
(widen)
- (nxml-with-unmodifying-text-property-changes
+ (with-silent-modifications
(nxml-clear-inside (point-min) (point-max))))))
;;; Change management
@@ -625,7 +625,7 @@ Many aspects this mode can be customized using
(widen)
(save-match-data
(nxml-with-invisible-motion
- (nxml-with-unmodifying-text-property-changes
+ (with-silent-modifications
(nxml-after-change1
start end pre-change-length)))))))))
@@ -910,7 +910,7 @@ Called with `font-lock-beg' and `font-lock-end' dynamically bound."
(widen)
(save-match-data
(nxml-with-invisible-motion
- (nxml-with-unmodifying-text-property-changes
+ (with-silent-modifications
(nxml-extend-after-change-region1
start end pre-change-length)))))))))
(if (consp region) region))))