From: Eli Zaretskii Date: Sat, 21 Jun 2014 08:05:39 +0000 (+0300) Subject: Improve documentation of \n in a skeleton. X-Git-Tag: emacs-24.3.92~45 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=637bce026b02dc188eea42188e1d8ea8f4d3de3f;p=emacs.git Improve documentation of \n in a skeleton. doc/misc/autotype.texi (Skeleton Language): Document the feature of \n when at eol. --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index d3a7f66cdaf..b1d7c3a7a0c 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +2014-06-21 Eli Zaretskii + + * autotype.texi (Skeleton Language): Document the feature of \n + when at eol. + 2014-06-15 Michael Albinus * dbus.texi (Type Conversion): Formatting edits in example. diff --git a/doc/misc/autotype.texi b/doc/misc/autotype.texi index fd4477e1636..c5f0703cf19 100644 --- a/doc/misc/autotype.texi +++ b/doc/misc/autotype.texi @@ -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.