help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: help with flyspell-mode


From: Lennart Borgman
Subject: Re: help with flyspell-mode
Date: Thu, 26 Nov 2009 12:27:39 +0100

On Thu, Nov 26, 2009 at 8:54 AM, Kevin Rodgers
<address@hidden> wrote:
> Colin S. Miller wrote:
>>
>> Les Harris wrote:
>>>
>>> Unfortunately, Fundamental mode doesn't run any hooks so that method
>>> won't work.
>>>
>>
>> The OP might be able to add a defadvice to 'fundamental-mode.
>> The advice function could check the extension of the current buffer's
>> file, and run (flyspell-mode 't) if there isn't one.
>
> Or:
>
> (add-hook 'fundamental-mode 'turn-on-flyspell)


That will not work.




reply via email to

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