And yet the red wavy lines from MSWord arouse me subtly

TorgoX on 2006-03-23T10:09:54

Dear Log,

Flyspell mode, I think I love you...

(setq text-mode-hook '(lambda () (progn
 (auto-fill-mode 1)
 (flyspell-mode 1)
)))

(setq html-mode-hook '(lambda () (progn
 (auto-fill-mode 0)
 (flyspell-mode 1)
)))


add-hook

educated_foo on 2006-03-23T13:15:16

The standard way is to do (add-hook 'text-mode-hook ...), which avoids clobbering functions already on the hooks (which are normally lists of functions).

Re:add-hook

TorgoX on 2006-03-24T12:03:46

Oh, handy. Thanks!!