diff options
author | Eli Zaretskii <[email protected]> | 2014-06-21 16:41:44 +0300 |
---|---|---|
committer | Eli Zaretskii <[email protected]> | 2014-06-21 16:41:44 +0300 |
commit | edd112b7f8956e727b21976e9e6a36256d724c24 (patch) | |
tree | b5d8e7f53ff9a9223b4227228fa5598758922433 /lisp | |
parent | 4e104c767226ed34890c64230587f74d3a8aa6c0 (diff) |
lisp/skeleton.el (skeleton-insert): Fix last change.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/skeleton.el | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 148c2b0e65..46f8725382 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-06-21 Eli Zaretskii <[email protected]> + + * skeleton.el (skeleton-insert): Fix last change. + 2014-06-21 Fabián Ezequiel Gallina <[email protected]> Enhancements for outline integration (bug#17796). diff --git a/lisp/skeleton.el b/lisp/skeleton.el index 027b2dd9d6..86c8ed49c7 100644 --- a/lisp/skeleton.el +++ b/lisp/skeleton.el @@ -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 |