emacs-devel
[Top][All Lists]
Advanced

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

Re: position on changing defaults?


From: Stefan Monnier
Subject: Re: position on changing defaults?
Date: Thu, 06 Mar 2008 11:20:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> Which is doable.  But what if a user wants to turn on flyspell-prog-mode
> by default for all programming languages? The only way to do that now is
> to add a bunch of `add-hook's in .emacs
> It would be nice to have a generic solution for all these (no idea what
> that might be...)

One solution is to introduce a new major mode `prog-mode' and then
make all other programming modes inherit from it.


        Stefan




reply via email to

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