]> code.delx.au - gnu-emacs/blobdiff - etc/NEWS
Add :after-hook facility to define-derived-mode.
[gnu-emacs] / etc / NEWS
index 92d301ecd6f8d0c13e62789fc5067403df8ecf65..22eb2eabc3706f243ed0db4b71bbe3cbf4f773c2 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -369,6 +369,12 @@ variable.
 
 ** New var syntax-ppss-table to control the syntax-table used in syntax-ppss.
 
++++
+** `define-derived-mode' can now specify an :after-hook form, which
+gets evaluated after the new mode's hook has run.  This can be used to
+incorporate configuration changes made in the mode hook into the
+mode's setup.
+
 ** Autoload files can be generated without timestamps,
 by setting 'autoload-timestamps' to nil.
 FIXME As an experiment, nil is the current default.