| 548 | | (when (and migemo-mw32-input-method |
|---|
| 549 | | (stringp migemo-current-input-method) |
|---|
| 550 | | (string= migemo-current-input-method migemo-mw32-input-method)) |
|---|
| 551 | | (set-input-method migemo-current-input-method)) |
|---|
| 552 | | (setq current-input-method migemo-current-input-method))) |
|---|
| | 546 | (if (and migemo-mw32-input-method |
|---|
| | 547 | (and current-input-method |
|---|
| | 548 | (string= current-input-method migemo-mw32-input-method)) |
|---|
| | 549 | (not (and migemo-current-input-method |
|---|
| | 550 | (string= migemo-current-input-method migemo-mw32-input-method)))) |
|---|
| | 551 | (run-hooks 'mw32-ime-off-hook)) |
|---|
| | 552 | (setq current-input-method migemo-current-input-method) |
|---|
| | 553 | (setq input-method-function migemo-input-method-function))) |
|---|
| 632 | | (setq migemo-isearch-enable-p (not migemo-isearch-enable-p))) |
|---|
| | 633 | (if (setq migemo-isearch-enable-p (not migemo-isearch-enable-p)) |
|---|
| | 634 | (when (boundp 'current-input-method) |
|---|
| | 635 | (setq migemo-current-input-method current-input-method) |
|---|
| | 636 | (setq migemo-input-method-function input-method-function) |
|---|
| | 637 | (setq current-input-method nil) |
|---|
| | 638 | (setq input-method-function nil)) |
|---|
| | 639 | (when (boundp 'current-input-method) |
|---|
| | 640 | (if (and migemo-mw32-input-method |
|---|
| | 641 | (and current-input-method |
|---|
| | 642 | (string= current-input-method migemo-mw32-input-method)) |
|---|
| | 643 | (not (and migemo-current-input-method |
|---|
| | 644 | (string= migemo-current-input-method migemo-mw32-input-method)))) |
|---|
| | 645 | (run-hooks 'mw32-ime-off-hook)) |
|---|
| | 646 | (setq current-input-method migemo-current-input-method) |
|---|
| | 647 | (setq input-method-function migemo-input-method-function)))) |
|---|