From 637bce026b02dc188eea42188e1d8ea8f4d3de3f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 21 Jun 2014 11:05:39 +0300 Subject: Improve documentation of \n in a skeleton. doc/misc/autotype.texi (Skeleton Language): Document the feature of \n when at eol. --- doc/misc/autotype.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/misc/autotype.texi') 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. -- cgit v1.2.1