emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-24 r117272: lisp/skeleton.el (skeleton-insert): Doc fix.
Date: Sat, 21 Jun 2014 08:02:22 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117272
revision-id: address@hidden
parent: address@hidden
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Sat 2014-06-21 11:01:52 +0300
message:
  lisp/skeleton.el (skeleton-insert): Doc fix.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/skeleton.el               skeleton.el-20091113204419-o5vbwnq5f7feedwu-728
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-06-20 21:10:40 +0000
+++ b/lisp/ChangeLog    2014-06-21 08:01:52 +0000
@@ -1,3 +1,7 @@
+2014-06-21  Eli Zaretskii  <address@hidden>
+
+       * skeleton.el (skeleton-insert): Doc fix.
+
 2014-06-20  Stefan Monnier  <address@hidden>
 
        * emacs-lisp/smie.el (smie-config--guess): Fix typo.

=== modified file 'lisp/skeleton.el'
--- a/lisp/skeleton.el  2014-03-21 01:12:57 +0000
+++ b/lisp/skeleton.el  2014-06-21 08:01:52 +0000
@@ -200,7 +200,7 @@
 If ELEMENT is a string or a character it gets inserted (see also
 `skeleton-transformation-function').  Other possibilities are:
 
-       \\n     go to next line and indent according to mode
+       \\n     if 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,6 +215,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.
+
 Further elements can be defined via `skeleton-further-elements'.
 ELEMENT may itself be a SKELETON with an INTERACTOR.  The user is prompted
 repeatedly for different inputs.  The SKELETON is processed as often as


reply via email to

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