aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-02-01 20:13:02 -0800
committerGlenn Morris2012-02-01 20:13:02 -0800
commitc2f03a4aad0d74fc04ca64f4f710462209e4f1ca (patch)
tree1bcb2c86cb3bee6d87bc916a671cc352abb85147
parent12f381b73de44148af86efd823ff69c637dedeec (diff)
downloademacs-c2f03a4aad0d74fc04ca64f4f710462209e4f1ca.tar.gz
emacs-c2f03a4aad0d74fc04ca64f4f710462209e4f1ca.zip
* etc/NEWS: prog-mode-hook was documented.
-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.