summaryrefslogtreecommitdiff
path: root/lisp/composite.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2004-03-19 02:33:17 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2004-03-19 02:33:17 +0000
commitf0f5cf2b1fc60caefdd8eb414e16d714c0493803 (patch)
treef85946d5c55a531599b83f6a47b6227ccdd7f7c7 /lisp/composite.el
parentdeab65618093b442de262a2c39ba0a48bfb7a176 (diff)
downloademacs-f0f5cf2b1fc60caefdd8eb414e16d714c0493803.tar.gz
(compose-region): Use restore-buffer-modified-p.
Diffstat (limited to 'lisp/composite.el')
-rw-r--r--lisp/composite.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/composite.el b/lisp/composite.el
index fa69ac6ff83..8361e2ad9e3 100644
--- a/lisp/composite.el
+++ b/lisp/composite.el
@@ -193,7 +193,7 @@ text in the composition."
(if (or (vectorp components) (listp components))
(setq components (encode-composition-components components)))
(compose-region-internal start end components modification-func)
- (set-buffer-modified-p modified-p)))
+ (restore-buffer-modified-p modified-p)))
;;;###autoload
(defun decompose-region (start end)