key-chord.el の input-method-function が勝手に nil にされることがあるので修正
気が付くと、 input-method-function が nil になっている事が多々あり悩んでいたが、原因が判明した。
(input-method-function が nil になると、実質 key-chord-mode が OFF になってしまう。)
nil をセットしている犯人は、FEP(Wnn) の on/off 時にコールしている toggle-input-method だった。
2回目の toggle-input-method コール時(FEP Off時)に input-method-function が nil になっている。
以下修正内容。
もしかしたら、input-method-function を復帰するときに、input-method-function の nil判定(input-method-function が nil の時のみ復帰)をした方がいいかも。。。
(defadvice toggle-input-method (around toggle-input-method-around activate) (let ((input-method-function-save input-method-function)) ad-do-it (setq input-method-function input-method-function-save)))