Skip to content
Browse files

Fix text-related hooks.

  • Loading branch information...
1 parent ad5705f commit d4c50e74768b9708071f6c04d1cae5719e2e227c @technomancy committed Feb 26, 2009
Showing with 2 additions and 6 deletions.
  1. +2 −6 starter-kit-misc.el
View
8 starter-kit-misc.el
@@ -68,12 +68,8 @@
(set-default 'indicate-empty-lines t)
(set-default 'imenu-auto-rescan t)
-(add-hook 'text-mode-hook 'auto-fill-mode)
-(add-hook 'text-mode-hook 'flyspell-mode)
-(add-hook 'textile-mode-hook 'auto-fill-mode)
-(add-hook 'textile-mode-hook 'flyspell-mode)
-(add-hook 'markdown-mode-hook 'auto-fill-mode)
-(add-hook 'markdown-mode-hook 'flyspell-mode)
+(add-hook 'text-mode-hook (lambda () (auto-fill-mode 1)))
+(add-hook 'text-mode-hook (lambda () (flyspell-mode 1)))
(defalias 'yes-or-no-p 'y-or-n-p)
(random t) ;; Seed the random-number generator

0 comments on commit d4c50e7

Please sign in to comment.
Something went wrong with that request. Please try again.