diff options
| author | Kenichi Handa | 2000-05-24 06:41:32 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-05-24 06:41:32 +0000 |
| commit | b0fdefb47b6db96c9b18b63d2b939a7d23d221d8 (patch) | |
| tree | 5c688c653c6df0c1b11e23f0f042b52bc6c16f7f | |
| parent | 48e3df7654b3ba234f97df786d4683d02e3a26a7 (diff) | |
| download | emacs-b0fdefb47b6db96c9b18b63d2b939a7d23d221d8.tar.gz emacs-b0fdefb47b6db96c9b18b63d2b939a7d23d221d8.zip | |
(quail-start-translation): Don't change
modified-p of the current buffer.
(quail-start-conversion): Likewise.
| -rw-r--r-- | lisp/international/quail.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/international/quail.el b/lisp/international/quail.el index 03a46d45aa3..3410f5c13ef 100644 --- a/lisp/international/quail.el +++ b/lisp/international/quail.el | |||
| @@ -948,13 +948,15 @@ The returned value is a Quail map specific to KEY." | |||
| 948 | (help-char nil) | 948 | (help-char nil) |
| 949 | (overriding-terminal-local-map (quail-translation-keymap)) | 949 | (overriding-terminal-local-map (quail-translation-keymap)) |
| 950 | (generated-events nil) | 950 | (generated-events nil) |
| 951 | (input-method-function nil)) | 951 | (input-method-function nil) |
| 952 | (modified-p (buffer-modified-p))) | ||
| 952 | (setq quail-current-key "" | 953 | (setq quail-current-key "" |
| 953 | quail-current-str "" | 954 | quail-current-str "" |
| 954 | quail-translating t) | 955 | quail-translating t) |
| 955 | (if key | 956 | (if key |
| 956 | (setq unread-command-events (cons key unread-command-events))) | 957 | (setq unread-command-events (cons key unread-command-events))) |
| 957 | (while quail-translating | 958 | (while quail-translating |
| 959 | (set-buffer-modified-p modified-p) | ||
| 958 | (let* ((keyseq (read-key-sequence | 960 | (let* ((keyseq (read-key-sequence |
| 959 | (and input-method-use-echo-area | 961 | (and input-method-use-echo-area |
| 960 | (concat input-method-previous-message | 962 | (concat input-method-previous-message |
| @@ -1022,7 +1024,8 @@ The returned value is a Quail map specific to KEY." | |||
| 1022 | (help-char nil) | 1024 | (help-char nil) |
| 1023 | (overriding-terminal-local-map (quail-conversion-keymap)) | 1025 | (overriding-terminal-local-map (quail-conversion-keymap)) |
| 1024 | (generated-events nil) | 1026 | (generated-events nil) |
| 1025 | (input-method-function nil)) | 1027 | (input-method-function nil) |
| 1028 | (modified-p (buffer-modified-p))) | ||
| 1026 | (setq quail-current-key "" | 1029 | (setq quail-current-key "" |
| 1027 | quail-current-str "" | 1030 | quail-current-str "" |
| 1028 | quail-translating t | 1031 | quail-translating t |
| @@ -1031,6 +1034,7 @@ The returned value is a Quail map specific to KEY." | |||
| 1031 | (if key | 1034 | (if key |
| 1032 | (setq unread-command-events (cons key unread-command-events))) | 1035 | (setq unread-command-events (cons key unread-command-events))) |
| 1033 | (while quail-converting | 1036 | (while quail-converting |
| 1037 | (set-buffer-modified-p modified-p) | ||
| 1034 | (or quail-translating | 1038 | (or quail-translating |
| 1035 | (progn | 1039 | (progn |
| 1036 | (setq quail-current-key "" | 1040 | (setq quail-current-key "" |