From: Eli Zaretskii Date: Sat, 21 Jun 2014 15:08:18 +0000 (+0300) Subject: doc/misc/autotype.texi (Skeleton Language): Fix last change. X-Git-Tag: emacs-24.3.92~38 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8047f439ec7d0bbe0085800a13bee8da883ae4dd;p=emacs.git doc/misc/autotype.texi (Skeleton Language): Fix last change. --- diff --git a/doc/misc/autotype.texi b/doc/misc/autotype.texi index c5f0703cf19..dafec226d5d 100644 --- a/doc/misc/autotype.texi +++ b/doc/misc/autotype.texi @@ -232,9 +232,11 @@ 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. -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. +Insert a newline and align under current line, but not if this is the +last element of a skeleton and the newline would be inserted at end of +line. Use newline character @code{?\n} to prevent alignment. Use +@code{"\n"} as the last string element of a skeleton to insert a +newline after the skeleton 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.