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
commite3748ba235e2ad39c5a0d467fe3148097fa57130 (patch)
treef3db7a79847fa3bd4607776e38c04cfa3be136f8 /lisp/composite.el
parent6c89b0e404ace3ecf9d36b50fd3fcb27147cfa87 (diff)
downloademacs-e3748ba235e2ad39c5a0d467fe3148097fa57130.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)