aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 0138fa5192e..67aee36461b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1283,6 +1283,7 @@ syntactic rules.
1283*** `prog-mode' is a new major mode from which programming modes 1283*** `prog-mode' is a new major mode from which programming modes
1284should be derived. 1284should be derived.
1285 1285
1286+++
1286**** `prog-mode-hook' can be used to enable features for programming 1287**** `prog-mode-hook' can be used to enable features for programming
1287modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable 1288modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable
1288on-the-fly spell checking for comments and strings. 1289on-the-fly spell checking for comments and strings.