aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2015-04-25 10:49:42 +0300
committerEli Zaretskii2015-04-25 10:49:42 +0300
commitbac119a56eb286846ac5e7e046c31e7aa5844431 (patch)
tree4a364435ec06406abffb1ea26c59c7565fcfb167 /src
parent474519c96d7d819439ffac08cf270a2247eabf98 (diff)
downloademacs-bac119a56eb286846ac5e7e046c31e7aa5844431.tar.gz
emacs-bac119a56eb286846ac5e7e046c31e7aa5844431.zip
Improve doc string of 'insert-buffer-substring'
* src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 7d3e4620029..dead48c1a62 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2728,7 +2728,15 @@ DEFUN ("insert-buffer-substring", Finsert_buffer_substring, Sinsert_buffer_subst
2728 doc: /* Insert before point a substring of the contents of BUFFER. 2728 doc: /* Insert before point a substring of the contents of BUFFER.
2729BUFFER may be a buffer or a buffer name. 2729BUFFER may be a buffer or a buffer name.
2730Arguments START and END are character positions specifying the substring. 2730Arguments START and END are character positions specifying the substring.
2731They default to the values of (point-min) and (point-max) in BUFFER. */) 2731They default to the values of (point-min) and (point-max) in BUFFER.
2732
2733Point and before-insertion markers move forward to end up after the
2734inserted text.
2735Any other markers at the point of insertion remain before the text.
2736
2737If the current buffer is multibyte and BUFFER is unibyte, or vice
2738versa, strings are converted from unibyte to multibyte or vice versa
2739using `string-make-multibyte' or `string-make-unibyte', which see. */)
2732 (Lisp_Object buffer, Lisp_Object start, Lisp_Object end) 2740 (Lisp_Object buffer, Lisp_Object start, Lisp_Object end)
2733{ 2741{
2734 register EMACS_INT b, e, temp; 2742 register EMACS_INT b, e, temp;