diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-06-21 18:08:18 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-06-21 18:08:18 +0300 |
commit | 8047f439ec7d0bbe0085800a13bee8da883ae4dd (patch) | |
tree | b6b9b1c73089a0d4516c135ff1835883439b285c | |
parent | 656f99beebbe122d84754f4f25c4b1b8c53e8941 (diff) | |
download | emacs-8047f439ec7d0bbe0085800a13bee8da883ae4dd.tar.gz emacs-8047f439ec7d0bbe0085800a13bee8da883ae4dd.tar.bz2 emacs-8047f439ec7d0bbe0085800a13bee8da883ae4dd.zip |
doc/misc/autotype.texi (Skeleton Language): Fix last change.
-rw-r--r-- | doc/misc/autotype.texi | 8 |
1 files 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. |