diff options
| author | Glenn Morris | 2012-02-09 21:44:27 -0500 |
|---|---|---|
| committer | Glenn Morris | 2012-02-09 21:44:27 -0500 |
| commit | 0aca12922c1d17eafd26e0a3fe375d22afab3585 (patch) | |
| tree | 403aa13d53fb11c18ce18e3bb34b510a0922eece | |
| parent | 72ca698cb9543315c914f3548eea2512f8dffe7a (diff) | |
| download | emacs-0aca12922c1d17eafd26e0a3fe375d22afab3585.tar.gz emacs-0aca12922c1d17eafd26e0a3fe375d22afab3585.zip | |
* doc/emacs/programs.texi (Misc for Programs): Mention electric-layout-mode.
| -rw-r--r-- | doc/emacs/ChangeLog | 8 | ||||
| -rw-r--r-- | doc/emacs/programs.texi | 6 |
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 @@ | |||
| 1 | 2012-02-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * programs.texi (Misc for Programs): Mention electric-layout-mode. | ||
| 4 | |||
| 1 | 2012-02-09 Glenn Morris <rgm@gnu.org> | 5 | 2012-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 | |||
| 1415 | programming language major mode, indents the new lines which it | 1415 | programming language major mode, indents the new lines which it |
| 1416 | creates. | 1416 | creates. |
| 1417 | 1417 | ||
| 1418 | @findex electric-layout-mode | ||
| 1419 | Electric Layout mode (@kbd{M-x electric-layout-mode}) is a global | ||
| 1420 | minor mode that automatically inserts newlines when you type certain | ||
| 1421 | characters; for example, @samp{@{}, @samp{@}} and @samp{;} in Javascript | ||
| 1422 | mode. | ||
| 1423 | |||
| 1418 | Apart from Hideshow mode (@pxref{Hideshow}), another way to | 1424 | Apart from Hideshow mode (@pxref{Hideshow}), another way to |
| 1419 | selectively display parts of a program is to use the selective display | 1425 | selectively display parts of a program is to use the selective display |
| 1420 | feature (@pxref{Selective Display}). Programming modes often also | 1426 | feature (@pxref{Selective Display}). Programming modes often also |