From c2f03a4aad0d74fc04ca64f4f710462209e4f1ca Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 1 Feb 2012 20:13:02 -0800 Subject: [PATCH] * etc/NEWS: prog-mode-hook was documented. --- etc/NEWS | 1 + 1 file changed, 1 insertion(+) 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. -- 2.39.2