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.