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: Kevin Rodgers
Subject: Re: help with flyspell-mode
Date: Thu, 26 Nov 2009 00:54:20 -0700
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

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)

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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