+2012-02-10 Glenn Morris <rgm@gnu.org>
+
+ * programs.texi (Misc for Programs): Mention electric-layout-mode.
+
2012-02-09 Glenn Morris <rgm@gnu.org>
- * buffers.texi (Misc Buffer): M-x info does not seem to require a buffer
- switch after M-x rename-uniquely.
+ * buffers.texi (Misc Buffer): M-x info does not seem to require a
+ buffer switch after M-x rename-uniquely.
* trouble.texi (Checklist): Mention C-c m in report-emacs-bug.
programming language major mode, indents the new lines which it
creates.
+@findex electric-layout-mode
+ Electric Layout mode (@kbd{M-x electric-layout-mode}) is a global
+minor mode that automatically inserts newlines when you type certain
+characters; for example, @samp{@{}, @samp{@}} and @samp{;} in Javascript
+mode.
+
Apart from Hideshow mode (@pxref{Hideshow}), another way to
selectively display parts of a program is to use the selective display
feature (@pxref{Selective Display}). Programming modes often also