开发者

Add visual-line-mode hook to tbemail

I am using tbemail.el with Thunderbird+External Editor Extension to compose letters in emacs. The major-mode for this is tbemail and yet I cannot add a hook to use visu开发者_Python百科al-line-mode (automatically) for these buffers. The following lines are what I have in my .emacs file:

(require 'tbemail)
(add-hook 'tbemail 'visual-line-mode)
(add-hook 'tbemail-mode 'visual-line-mode)

Am I missing something?


The hook is "tbemail-mode-hook" so try this instead:

(add-hook 'tbemail-mode-hook 'visual-line-mode)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜