From 63519f6099ac5204246cfffb9ea9910956b70d03 Mon Sep 17 00:00:00 2001 From: Daniel Colascione Date: Sun, 14 Sep 2014 17:43:29 -0700 Subject: [PATCH] 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. --- doc/emacs/ChangeLog | 5 +++++ doc/emacs/regs.texi | 6 +++--- doc/lispref/ChangeLog | 5 +++++ doc/lispref/text.texi | 5 +++-- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 46124c323eb..19dc4874967 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,8 @@ +2014-09-15 Daniel Colascione + + * regs.texi (Text Registers): Update end-user documentation + to reflect `insert-register' interface change. + 2014-08-07 Reuben Thomas * programs.texi (Program Modes): Don't advertise VMS DCL support diff --git a/doc/emacs/regs.texi b/doc/emacs/regs.texi index a0ff7079388..bc4abb389c4 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 ddd0dee213a..1a85b126ffe 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2014-09-15 Daniel Colascione + + * text.texi (Registers): Make `insert-register' documentation + reflect interface change. + 2014-09-08 Stefan Monnier * functions.texi (Core Advising Primitives): Add a note about the diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 6665cc3e673..f21d2b76656 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 -- 2.39.5