[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: turn on flyspell mode permanently in .emacs
From: |
Noah Slater |
Subject: |
Re: turn on flyspell mode permanently in .emacs |
Date: |
Tue, 22 Aug 2006 23:13:28 +0100 |
Here are some samples from my site-start.el which may help you:
(defun activate-flyspell ()
"Turn on flyspell-mode and call flyspell-buffer."
(interactive)
;; This next line REALLY slows buffer switching.
(flyspell-mode)
(flyspell-buffer))
(defvar customised-hooks-alist
'(emacs-lisp-mode-hook
nxml-mode-hook
python-mode-hook
sh-mode-hook
text-mode-hook)
"An alist of hooks that require customisations.")
(unless noninteractive
;; Activate flyspell for various major modes.
(add-hook-list customised-hooks-alist 'activate-flyspell))
--
"Creativity can be a social contribution, but only in so
far as society is free to use the results." - R. Stallman
- turn on flyspell mode permanently in .emacs, kevmitch, 2006/08/21
- Message not available
- Re: turn on flyspell mode permanently in .emacs, kevmitch, 2006/08/22
- Re: turn on flyspell mode permanently in .emacs, Sebastian P. Luque, 2006/08/22
- Re: turn on flyspell mode permanently in .emacs, Kevin Rodgers, 2006/08/23
- Re: turn on flyspell mode permanently in .emacs, Noah Slater, 2006/08/23
- Re: turn on flyspell mode permanently in .emacs, Kevin Rodgers, 2006/08/23
Re: turn on flyspell mode permanently in .emacs, Johan Bockgård, 2006/08/23