[Top][All Lists]

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

Re: Finding packages to enable by default

From: Daimrod
Subject: Re: Finding packages to enable by default
Date: Fri, 20 Jun 2014 08:57:24 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> | flyspell-mode                                    |      41 |
> I'd be happy to enable this by default, but we currently don't have
> a `global-flyspell-mode', so we need someone to write one for us.
> Such a global mode should be careful to only enable flyspell where it
> "makes sense".  E.g. I think that by default in prog-mode buffers, only
> strings and comments should be flyspell'd.

Couldn't we just use regular hooks instead of a global mode?
(add-hook 'text-mode-hook 'flyspell-mode)
(add-hook 'prog-mode-hook 'flyspell-prog-mode)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]