Lines 1-34
Link Here
|
1 |
--- yc.el.orig 2008-02-17 00:37:39.000000000 +0900 |
1 |
--- yc.el.orig 2010-09-30 13:22:22.000000000 +0900 |
2 |
+++ yc.el 2008-02-17 00:38:16.000000000 +0900 |
2 |
+++ yc.el 2010-09-30 13:26:09.000000000 +0900 |
3 |
@@ -393,7 +393,7 @@ |
3 |
@@ -1736,6 +1736,7 @@ |
4 |
(error nil))))))) |
4 |
(error nil)))) |
5 |
(when (processp yc-server) |
5 |
(yc-eval-sexp (car expr))))) |
6 |
(put 'yc-server 'init nil) |
6 |
(setq files (cdr files))) |
7 |
- (process-kill-without-query yc-server) |
7 |
+ (message "") |
8 |
+ (set-process-query-on-exit-flag yc-server nil) |
8 |
(if romkana-table |
9 |
(when yc-debug |
9 |
(setq yc-rH-conv-dic (yc-search-file-first-in-path |
10 |
(unwind-protect |
10 |
romkana-table (list "." (getenv "HOME") |
11 |
(progn |
|
|
12 |
@@ -4046,14 +4046,15 @@ |
13 |
"japanese-yc" "Japanese" 'yc-activate |
14 |
"$B$"(B" "Romaji -> Hiragana -> Kanji&Kana" |
15 |
nil) |
16 |
-(set-language-info "Japanese" 'input-method "japanese-yc") |
17 |
-;(setq default-input-method "japanese-yc")) |
18 |
+(defun force-yc-input-mode () |
19 |
+ (set-language-info "Japanese" 'input-method "japanese-yc") |
20 |
+ (setq default-input-method "japanese-yc")) |
21 |
|
22 |
-;(yc-setup) |
23 |
-;(when (and yc-connect-server-at-startup (yc-server-check)) |
24 |
-; (yc-init) |
25 |
-; (force-yc-input-mode) |
26 |
-; ) |
27 |
+(yc-setup) |
28 |
+(when (and yc-connect-server-at-startup (yc-server-check)) |
29 |
+ (yc-init) |
30 |
+ (force-yc-input-mode) |
31 |
+ ) |
32 |
|
33 |
(defconst yc-version "5.0.0") |
34 |
(provide 'yc) |