don't use lambda when adding hooks to a mode.

ref: http://d.hatena.ne.jp/tomoya/20100112/1263298132