[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: emacs: adding default minor modes?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Oct 25, 2003 at 12:21:38AM -0400, Bijan Soleymani wrote:
> On Fri, Oct 24, 2003 at 08:30:57PM -0700, Paul Johnson wrote:
> > What's the easiest way for a non-LISPer to add ispell-minor-mode to be
> > one of the default minor modes in emacs?
> 
> I assume that you are referring to flyspell mode which is the mode where
> spelling mistakes are highlighted in red as you type. I also assume that
> you want this for text files and not C code. In that case you would use
> the following code:
> 
> (add-hook 'text-mode-hook 'flyspell-mode)

Ah, thank you!  That works.

- -- 
 .''`.     Paul Johnson <baloo@ursine.ca>
: :'  :    
`. `'`     proud Debian admin and user
  `-  Debian - when you have better things to do than fix a system
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/moOTUzgNqloQMwcRAjzgAJ48yYTUOj/9RCdONckVP4xbpoEM4gCdFlom
O6JoUIpbOrHQR9RwsI5O8BY=
=PHAU
-----END PGP SIGNATURE-----



Reply to: