Improve documentation of \n in a skeleton.

doc/misc/autotype.texi (Skeleton Language): Document the feature of \n
 when at eol.
This commit is contained in:
Eli Zaretskii 2014-06-21 11:05:39 +03:00
parent 900f938409
commit 637bce026b
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2014-06-21 Eli Zaretskii <eliz@gnu.org>
* autotype.texi (Skeleton Language): Document the feature of \n
when at eol.
2014-06-15 Michael Albinus <michael.albinus@gmx.de>
* dbus.texi (Type Conversion): Formatting edits in example.

View file

@ -232,8 +232,9 @@ Insert string or character. Literal strings and characters are passed through
@code{skeleton-transformation} when that is non-@code{nil}.
@item @code{?\n}
@c ??? something seems very wrong here.
Insert a newline and align under current line. Use newline character
@code{?\n} to prevent alignment.
If not at end of line, insert a newline and align under current line.
Use newline character @code{?\n} to prevent alignment. Use
@code{"\n"} as a string to insert a newline unconditionally.
@item @code{_}
Interesting point. When wrapping skeletons around successive regions, they are
put at these places. Point is left at first @code{_} where nothing is wrapped.