aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-02-09 21:44:27 -0500
committerGlenn Morris2012-02-09 21:44:27 -0500
commit0aca12922c1d17eafd26e0a3fe375d22afab3585 (patch)
tree403aa13d53fb11c18ce18e3bb34b510a0922eece
parent72ca698cb9543315c914f3548eea2512f8dffe7a (diff)
downloademacs-0aca12922c1d17eafd26e0a3fe375d22afab3585.tar.gz
emacs-0aca12922c1d17eafd26e0a3fe375d22afab3585.zip
* doc/emacs/programs.texi (Misc for Programs): Mention electric-layout-mode.
-rw-r--r--doc/emacs/ChangeLog8
-rw-r--r--doc/emacs/programs.texi6
2 files changed, 12 insertions, 2 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index ebed400fd6c..3c4ee4181e4 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,7 +1,11 @@
12012-02-10 Glenn Morris <rgm@gnu.org>
2
3 * programs.texi (Misc for Programs): Mention electric-layout-mode.
4
12012-02-09 Glenn Morris <rgm@gnu.org> 52012-02-09 Glenn Morris <rgm@gnu.org>
2 6
3 * buffers.texi (Misc Buffer): M-x info does not seem to require a buffer 7 * buffers.texi (Misc Buffer): M-x info does not seem to require a
4 switch after M-x rename-uniquely. 8 buffer switch after M-x rename-uniquely.
5 9
6 * trouble.texi (Checklist): Mention C-c m in report-emacs-bug. 10 * trouble.texi (Checklist): Mention C-c m in report-emacs-bug.
7 11
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 8ba9b78603a..346e2fff5ff 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -1415,6 +1415,12 @@ paragraph commands to work on. Auto Fill mode, if enabled in a
1415programming language major mode, indents the new lines which it 1415programming language major mode, indents the new lines which it
1416creates. 1416creates.
1417 1417
1418@findex electric-layout-mode
1419 Electric Layout mode (@kbd{M-x electric-layout-mode}) is a global
1420minor mode that automatically inserts newlines when you type certain
1421characters; for example, @samp{@{}, @samp{@}} and @samp{;} in Javascript
1422mode.
1423
1418 Apart from Hideshow mode (@pxref{Hideshow}), another way to 1424 Apart from Hideshow mode (@pxref{Hideshow}), another way to
1419selectively display parts of a program is to use the selective display 1425selectively display parts of a program is to use the selective display
1420feature (@pxref{Selective Display}). Programming modes often also 1426feature (@pxref{Selective Display}). Programming modes often also