From 8047f439ec7d0bbe0085800a13bee8da883ae4dd Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 21 Jun 2014 18:08:18 +0300 Subject: [PATCH] doc/misc/autotype.texi (Skeleton Language): Fix last change. --- doc/misc/autotype.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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. -- 2.39.2