emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117278: lisp/skeleton.el (skeleton-insert): Fix


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-24 r117278: lisp/skeleton.el (skeleton-insert): Fix last change.
Date: Sat, 21 Jun 2014 13:42:13 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117278
revision-id: address@hidden
parent: address@hidden
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Sat 2014-06-21 16:41:44 +0300
message:
  lisp/skeleton.el (skeleton-insert): Fix last change.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/skeleton.el               skeleton.el-20091113204419-o5vbwnq5f7feedwu-728
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-06-21 11:26:43 +0000
+++ b/lisp/ChangeLog    2014-06-21 13:41:44 +0000
@@ -1,3 +1,7 @@
+2014-06-21  Eli Zaretskii  <address@hidden>
+
+       * skeleton.el (skeleton-insert): Fix last change.
+
 2014-06-21  Fabián Ezequiel Gallina  <address@hidden>
 
        Enhancements for outline integration (bug#17796).

=== modified file 'lisp/skeleton.el'
--- a/lisp/skeleton.el  2014-06-21 08:01:52 +0000
+++ b/lisp/skeleton.el  2014-06-21 13:41:44 +0000
@@ -200,7 +200,8 @@
 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 @@
 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]