Commit c2f03a4a authored by Glenn Morris's avatar Glenn Morris
Browse files

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

parent 12f381b7
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment