From: Glenn Morris Date: Thu, 2 Feb 2012 04:13:02 +0000 (-0800) Subject: * etc/NEWS: prog-mode-hook was documented. X-Git-Tag: emacs-pretest-24.0.94~360^2~5 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c2f03a4aad0d74fc04ca64f4f710462209e4f1ca;p=emacs.git * etc/NEWS: prog-mode-hook was documented. --- diff --git a/etc/NEWS b/etc/NEWS index 0138fa5192e..67aee36461b 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1283,6 +1283,7 @@ syntactic rules. *** `prog-mode' is a new major mode from which programming modes should be derived. ++++ **** `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.