diff options
| author | Kenichi Handa | 2000-05-24 06:42:21 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-05-24 06:42:21 +0000 |
| commit | e0d77f0da27e079942d74c152f58ab4931ac3407 (patch) | |
| tree | b54f0496319b1aab9abc343fe905e853400ebffb | |
| parent | b0fdefb47b6db96c9b18b63d2b939a7d23d221d8 (diff) | |
| download | emacs-e0d77f0da27e079942d74c152f58ab4931ac3407.tar.gz emacs-e0d77f0da27e079942d74c152f58ab4931ac3407.zip | |
(kkc-region): Don't change modified-p of
the current buffer.
| -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 6338dc10ed8..291499935df 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." | |||
| 230 | ;; At first convert the region to the first candidate. | 230 | ;; At first convert the region to the first candidate. |
| 231 | (let ((current-input-method-title kkc-input-method-title) | 231 | (let ((current-input-method-title kkc-input-method-title) |
| 232 | (input-method-function nil) | 232 | (input-method-function nil) |
| 233 | (modified-p (buffer-modified-p)) | ||
| 233 | (first t)) | 234 | (first t)) |
| 234 | (while (not (kkc-lookup-key kkc-length-head nil first)) | 235 | (while (not (kkc-lookup-key kkc-length-head nil first)) |
| 235 | (setq kkc-length-head (1- kkc-length-head) | 236 | (setq kkc-length-head (1- kkc-length-head) |
| @@ -241,6 +242,7 @@ and the return value is the length of the conversion." | |||
| 241 | (force-mode-line-update) | 242 | (force-mode-line-update) |
| 242 | (setq kkc-converting t) | 243 | (setq kkc-converting t) |
| 243 | (while kkc-converting | 244 | (while kkc-converting |
| 245 | (set-buffer-modified-p modified-p) | ||
| 244 | (let* ((overriding-terminal-local-map kkc-keymap) | 246 | (let* ((overriding-terminal-local-map kkc-keymap) |
| 245 | (help-char nil) | 247 | (help-char nil) |
| 246 | (keyseq (read-key-sequence nil)) | 248 | (keyseq (read-key-sequence nil)) |