]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/skeleton.el (skeleton-insert): Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Sat, 21 Jun 2014 13:41:44 +0000 (16:41 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 21 Jun 2014 13:41:44 +0000 (16:41 +0300)
lisp/ChangeLog
lisp/skeleton.el

index 148c2b0e65c181ff4879fad1161b6c811b7aab7e..46f87253825b354887f1d65e219fd930474329f8 100644 (file)
@@ -1,3 +1,7 @@
+2014-06-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * skeleton.el (skeleton-insert): Fix last change.
+
 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
 
        Enhancements for outline integration (bug#17796).
index 027b2dd9d62203f89e27fd800bf8ee4e4244a6b2..86c8ed49c74b4b1fdc919a8eed676d24b7634526 100644 (file)
@@ -200,7 +200,8 @@ not needed, a prompt-string or an expression for complex read functions.
 If ELEMENT is a string or a character it gets inserted (see also
 `skeleton-transformation-function').  Other possibilities are:
 
-       \\n     if not at eol, go to next line and indent according to mode
+       \\n     if not the last element of the skeleton, or not at eol,
+                go to next line and indent according to mode
        _       interesting point, interregion here
        -       interesting point, no interregion interaction, overrides
                interesting point set by _
@@ -215,8 +216,9 @@ If ELEMENT is a string or a character it gets inserted (see also
 After termination, point will be positioned at the last occurrence of -
 or at the first occurrence of _ or at the end of the inserted text.
 
-Note that \\n only inserts a newline if not at eol.  If you want to insert
-a newline unconditionally, use \"\\n\" instead.
+Note that \\n as the last element of the skeleton only inserts a
+newline if not at eol.  If you want to unconditionally insert a newline
+at the end of the skeleton, use \"\\n\" instead.
 
 Further elements can be defined via `skeleton-further-elements'.
 ELEMENT may itself be a SKELETON with an INTERACTOR.  The user is prompted