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.