[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generic hook for "code modes?"
From: |
Dave Abrahams |
Subject: |
Re: Generic hook for "code modes?" |
Date: |
Fri, 02 Dec 2011 12:02:20 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) |
on Fri Dec 02 2011, Dan Nicolaescu <dann-AT-gnu.org> wrote:
> Dave Abrahams <address@hidden> writes:
>
>> I have some things I want to set up whenever I'm editing source code,
>> pretty much no matter the language. Is there a central hook for code
>> modes, or do I need to make a table of code modes myself?
>
> From the current trunk etc/NEWS:
>
> **** `prog-mode-hook' can be used to enable features for programming
> modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable
> on-the-fly spell checking for comments and strings.
Thanks; maybe I need to upgrade to Emacs24 sometime soon.
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com