emacs-devel
[Top][All Lists]
Advanced

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

Re: Generic hook for "code modes?"


From: Dan Nicolaescu
Subject: Re: Generic hook for "code modes?"
Date: Fri, 02 Dec 2011 11:40:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

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.



reply via email to

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