From 637bce026b02dc188eea42188e1d8ea8f4d3de3f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 21 Jun 2014 11:05:39 +0300 Subject: [PATCH] Improve documentation of \n in a skeleton. doc/misc/autotype.texi (Skeleton Language): Document the feature of \n when at eol. --- doc/misc/ChangeLog | 5 +++++ doc/misc/autotype.texi | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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. -- 2.39.5