diff options
author | Kenichi Handa <[email protected]> | 2000-05-24 06:42:21 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2000-05-24 06:42:21 +0000 |
commit | e0d77f0da27e079942d74c152f58ab4931ac3407 (patch) | |
tree | b54f0496319b1aab9abc343fe905e853400ebffb /lisp | |
parent | b0fdefb47b6db96c9b18b63d2b939a7d23d221d8 (diff) |
(kkc-region): Don't change modified-p of
the current buffer.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/international/kkc.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/international/kkc.el b/lisp/international/kkc.el index 6338dc10ed..291499935d 100644 --- a/lisp/international/kkc.el +++ b/lisp/international/kkc.el @@ -230,6 +230,7 @@ and the return value is the length of the conversion." ;; At first convert the region to the first candidate. (let ((current-input-method-title kkc-input-method-title) (input-method-function nil) + (modified-p (buffer-modified-p)) (first t)) (while (not (kkc-lookup-key kkc-length-head nil first)) (setq kkc-length-head (1- kkc-length-head) @@ -241,6 +242,7 @@ and the return value is the length of the conversion." (force-mode-line-update) (setq kkc-converting t) (while kkc-converting + (set-buffer-modified-p modified-p) (let* ((overriding-terminal-local-map kkc-keymap) (help-char nil) (keyseq (read-key-sequence nil)) |