2009年09月24日
anthy.elで個別キーにON/OFFを割り当てる
anthy.elでトグルじゃなく変換のON/OFFがしたかったので以下のようにしてみた。
(defun anthy-mode-force-on (&optional arg) "Force Start Anthy conversion system." (interactive "P") (anthy-check-agent) (anthy-mode-on)) (defun anthy-mode-force-off (&optional arg) "Force End Anthy conversion system." (interactive "P") (anthy-check-agent) (anthy-mode-off)) (global-set-key [henkan] 'anthy-mode-force-on) (global-set-key [muhenkan] 'anthy-mode-force-off)
highfrontier at 16:07│Comments(0)│emacs
このブログにコメントするにはログインが必要です。
さんログアウト
この記事には許可ユーザしかコメントができません。