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: harven
Subject: Re: help with flyspell-mode
Date: Sun, 22 Nov 2009 17:14:56 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

Daniel Dalton <d.dalton@iinet.net.au> writes:

> Hi,
>
> How can I enable flyspell-mode for documents that don't have an
> extension?
> eg. I've auto enabled it through .emacs for text, python, etc. Like
> this:
> emacs /tmp/stuff.txt 
> Loads flyspell-mode, but emacs /tmp/stuff wouldn't.
>
> Anyone know how to enable flyspell mode for files with no extension?

If you want to have flyspell mode enabled for all files, you may 
want to try the find-file-hook.

(add-hook 'find-file-hook 'turn-on-flyspell)






reply via email to

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