summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2014-09-14 17:43:29 -0700
committerDaniel Colascione <dancol@dancol.org>2014-09-14 17:43:29 -0700
commit63519f6099ac5204246cfffb9ea9910956b70d03 (patch)
tree2db9c054fd4a91b5a0e28fafa63487f8825f6558
parent5ce52d05c93e0c006bbd145b938aa9fab7dfcb8d (diff)
Update documentation for `insert-register'
* doc/emacs/regs.texi (Text Registers): Update end-user documentation to reflect `insert-register' interface change. * doc/lispref/text.texi (Registers): Make `insert-register' documentation reflect interface change.
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/regs.texi6
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/text.texi5
4 files changed, 16 insertions, 5 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 46124c323e..19dc487496 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
+2014-09-15 Daniel Colascione <dancol@dancol.org>
+
+ * regs.texi (Text Registers): Update end-user documentation
+ to reflect `insert-register' interface change.
+
2014-08-07 Reuben Thomas <rrt@sc3d.org>
* programs.texi (Program Modes): Don't advertise VMS DCL support
diff --git a/doc/emacs/regs.texi b/doc/emacs/regs.texi
index a0ff707938..bc4abb389c 100644
--- a/doc/emacs/regs.texi
+++ b/doc/emacs/regs.texi
@@ -149,9 +149,9 @@ during the collection process, you can use the following setting.
@kindex C-x r i
@findex insert-register
@kbd{C-x r i @var{r}} inserts in the buffer the text from register
-@var{r}. Normally it leaves point before the text and sets the mark
-after, without activating it. With a numeric argument, it instead
-puts point after the text and the mark before.
+@var{r}. Normally it leaves point after the text and sets the mark
+before, without activating it. With a numeric argument, it instead
+puts before after the text and the mark after.
@node Rectangle Registers
@section Saving Rectangles in Registers
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index ddd0dee213..1a85b126ff 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
+2014-09-15 Daniel Colascione <dancol@dancol.org>
+
+ * text.texi (Registers): Make `insert-register' documentation
+ reflect interface change.
+
2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
* functions.texi (Core Advising Primitives): Add a note about the
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 6665cc3e67..f21d2b7665 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -4114,8 +4114,9 @@ buffer.
Normally, this command puts point before the inserted text, and the
mark after it. However, if the optional second argument @var{beforep}
is non-@code{nil}, it puts the mark before and point after.
-You can pass a non-@code{nil} second argument @var{beforep} to this
-function interactively by supplying any prefix argument.
+
+When called interactively, the command defaults to putting point after
+text, and a prefix argument inverts this behavior.
If the register contains a rectangle, then the rectangle is inserted
with its upper left corner at point. This means that text is inserted