summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorXue Fuqiao <xfq.free@gmail.com>2013-08-16 11:16:03 +0800
committerXue Fuqiao <xfq.free@gmail.com>2013-08-16 11:16:03 +0800
commitc8068af56770f8b0be93218e76dd17ea508f3365 (patch)
treebaafe5b3a4892c8b938a9c03158df33b4feda645 /doc
parentde179a3e1ef3a8a8dc4e1fe548d057c61b178f35 (diff)
downloademacs-c8068af56770f8b0be93218e76dd17ea508f3365.tar.gz
Refine the documentation of `insert-buffer-substring'.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog2
-rw-r--r--doc/lispref/text.texi8
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index d0099404ff1..fcb47b30f9a 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,6 +1,6 @@
2013-08-16 Xue Fuqiao <xfq.free@gmail.com>
- * text.texi (Insertion): Add cross-references.
+ * text.texi (Insertion): Refine.
* positions.texi (Character Motion):
* markers.texi (Moving Markers):
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index bc79971188e..17a1798be2f 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -423,10 +423,10 @@ insertion point. @xref{Sticky Properties}.
@defun insert-buffer-substring from-buffer-or-name &optional start end
This function inserts a portion of buffer @var{from-buffer-or-name}
-(which must already exist) into the current buffer before point. The
-text inserted is the region between @var{start} and @var{end}. (These
-arguments default to the beginning and end of the accessible portion of
-that buffer.) This function returns @code{nil}.
+into the current buffer before point. The text inserted is the region
+between @var{start} (inclusive) and @var{end} (exclusive). (These
+arguments default to the beginning and end of the accessible portion
+of that buffer.) This function returns @code{nil}.
In this example, the form is executed with buffer @samp{bar} as the
current buffer. We assume that buffer @samp{bar} is initially empty.