summaryrefslogtreecommitdiff
path: root/lisp/skeleton.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-03-21 12:04:57 -0700
committerGlenn Morris <rgm@gnu.org>2014-03-21 12:04:57 -0700
commit5671dc515946c8a27b09d060bc34345d42a8fa6e (patch)
tree54668c08879422e9c9d8c8c7a9e612d357971a49 /lisp/skeleton.el
parent26e91130ed0611a1074d0cac5880c065f9ba69c8 (diff)
parent1e92a8a3aa7958ba699cd0430be4f23aff6c4c01 (diff)
downloademacs-5671dc515946c8a27b09d060bc34345d42a8fa6e.tar.gz
emacs-5671dc515946c8a27b09d060bc34345d42a8fa6e.tar.bz2
emacs-5671dc515946c8a27b09d060bc34345d42a8fa6e.zip
Merge from emacs-24; up to 2014-03-21T08:51:02Z!eliz@gnu.org
Diffstat (limited to 'lisp/skeleton.el')
-rw-r--r--lisp/skeleton.el20
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/skeleton.el b/lisp/skeleton.el
index de0e5116db6..f85dc8ef068 100644
--- a/lisp/skeleton.el
+++ b/lisp/skeleton.el
@@ -180,7 +180,7 @@ of `str' whereas the skeleton's interactor is then ignored."
With optional second argument REGIONS, wrap first interesting point
\(`_') in skeleton around next REGIONS words, if REGIONS is positive.
If REGIONS is negative, wrap REGIONS preceding interregions into first
-REGIONS interesting positions \(successive `_'s) in skeleton.
+REGIONS interesting positions (successive `_'s) in skeleton.
An interregion is the stretch of text between two contiguous marked
points. If you marked A B C [] (where [] is the cursor) in
@@ -205,21 +205,21 @@ If ELEMENT is a string or a character it gets inserted (see also
@ add position to `skeleton-positions'
& do next ELEMENT if previous moved point
| do next ELEMENT if previous didn't move point
- -num delete num preceding characters (see `skeleton-untabify')
+ -NUM delete NUM preceding characters (see `skeleton-untabify')
resume: skipped, continue here if quit is signaled
nil skipped
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.
-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 the user enters a
-non-empty string. \\[keyboard-quit] terminates skeleton insertion, but
-continues after `resume:' and positions at `_' if any. If INTERACTOR in such
-a subskeleton is a prompt-string which contains a \".. %s ..\" it is
-formatted with `skeleton-subprompt'. Such an INTERACTOR may also be a list of
-strings with the subskeleton being repeated once for each string.
+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
+the user enters a non-empty string. \\[keyboard-quit] terminates skeleton insertion, but
+continues after `resume:' and positions at `_' if any. If INTERACTOR in
+such a subskeleton is a prompt-string which contains a \".. %s ..\" it is
+formatted with `skeleton-subprompt'. Such an INTERACTOR may also be a list
+of strings with the subskeleton being repeated once for each string.
Quoted Lisp expressions are evaluated for their side-effects.
Other Lisp expressions are evaluated and the value treated as above.