1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-26 09:51:31 -08:00

* etc/NEWS: prog-mode-hook was documented.

This commit is contained in:
Glenn Morris 2012-02-01 20:13:02 -08:00
parent 12f381b73d
commit c2f03a4aad

View file

@ -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.