Refine the documentation of `insert-buffer-substring'.

This commit is contained in:
Xue Fuqiao 2013-08-16 11:16:03 +08:00
parent de179a3e1e
commit c8068af567
2 changed files with 5 additions and 5 deletions

View file

@ -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):

View file

@ -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.