]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of \n in a skeleton.
authorEli Zaretskii <eliz@gnu.org>
Sat, 21 Jun 2014 08:05:39 +0000 (11:05 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 21 Jun 2014 08:05:39 +0000 (11:05 +0300)
 doc/misc/autotype.texi (Skeleton Language): Document the feature of \n
 when at eol.

doc/misc/ChangeLog
doc/misc/autotype.texi

index d3a7f66cdaf7909e78f46b2df382a3b2adca1df2..b1d7c3a7a0c35adae7f48f162bc3c03b64a82c21 100644 (file)
@@ -1,3 +1,8 @@
+2014-06-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * autotype.texi (Skeleton Language): Document the feature of \n
+       when at eol.
+
 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
 
        * dbus.texi (Type Conversion): Formatting edits in example.
index fd4477e1636767e2c6bdb7515a9a1ad2b514d7f4..c5f0703cf19bdf523f56c82259786b7991262577 100644 (file)
@@ -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.