diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-06-22 19:59:30 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-06-22 19:59:30 +0300 |
commit | f3953a24ea8b800170bde3db98565f2040b2f915 (patch) | |
tree | b6282c9049ff5dc5cb34d779f6177742abb466f8 /doc/misc | |
parent | 6692a64cc4c6929175c1d55a826ca35d1db3e652 (diff) | |
download | emacs-f3953a24ea8b800170bde3db98565f2040b2f915.tar.gz |
More tweaks of skeleton documentation wrt \n behavior at bol/eol.
lisp/skeleton.el (skeleton-insert): Yet another fix of the doc string
wrt behavior of \n as the first/last element of a skeleton.
doc/misc/autotype.texi (Skeleton Language): Document the \n feature
better.
Diffstat (limited to 'doc/misc')
-rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
-rw-r--r-- | doc/misc/autotype.texi | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index b1d7c3a7a0c..69aa171b554 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +2014-06-22 Eli Zaretskii <eliz@gnu.org> + + * autotype.texi (Skeleton Language): Document the \n feature + better. + 2014-06-21 Eli Zaretskii <eliz@gnu.org> * autotype.texi (Skeleton Language): Document the feature of \n diff --git a/doc/misc/autotype.texi b/doc/misc/autotype.texi index dafec226d5d..3ddeb08a306 100644 --- a/doc/misc/autotype.texi +++ b/doc/misc/autotype.texi @@ -234,9 +234,10 @@ Insert string or character. Literal strings and characters are passed through @c ??? something seems very wrong here. 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. +line, or this is the first element and the newline would be inserted +at beginning of line. Use newline character @code{?\n} to prevent +alignment. Use @code{"\n"} as the first or last string element of a +skeleton 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. |