summaryrefslogtreecommitdiff
path: root/lisp/nxml/nxml-outln.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-outln.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-outln.el')
-rw-r--r--lisp/nxml/nxml-outln.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/nxml/nxml-outln.el b/lisp/nxml/nxml-outln.el
index e30aee3de53..dab22f7559f 100644
--- a/lisp/nxml/nxml-outln.el
+++ b/lisp/nxml/nxml-outln.el
@@ -149,7 +149,7 @@ See the variable `nxml-section-element-name-regexp' for more details."
(defun nxml-show-all ()
"Show all elements in the buffer normally."
(interactive)
- (nxml-with-unmodifying-text-property-changes
+ (with-silent-modifications
(remove-text-properties (point-min)
(point-max)
'(nxml-outline-state nil)))
@@ -370,7 +370,7 @@ customize which elements are recognized as sections and headings."
(get-text-property pos 'nxml-outline-state))
(defun nxml-set-outline-state (pos state)
- (nxml-with-unmodifying-text-property-changes
+ (with-silent-modifications
(if state
(put-text-property pos (1+ pos) 'nxml-outline-state state)
(remove-text-properties pos (1+ pos) '(nxml-outline-state nil)))))