diff options
| author | Eli Zaretskii | 2015-04-25 10:49:42 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-04-25 10:49:42 +0300 |
| commit | bac119a56eb286846ac5e7e046c31e7aa5844431 (patch) | |
| tree | 4a364435ec06406abffb1ea26c59c7565fcfb167 /src | |
| parent | 474519c96d7d819439ffac08cf270a2247eabf98 (diff) | |
| download | emacs-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.c | 10 |
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. |
| 2729 | BUFFER may be a buffer or a buffer name. | 2729 | BUFFER may be a buffer or a buffer name. |
| 2730 | Arguments START and END are character positions specifying the substring. | 2730 | Arguments START and END are character positions specifying the substring. |
| 2731 | They default to the values of (point-min) and (point-max) in BUFFER. */) | 2731 | They default to the values of (point-min) and (point-max) in BUFFER. |
| 2732 | |||
| 2733 | Point and before-insertion markers move forward to end up after the | ||
| 2734 | inserted text. | ||
| 2735 | Any other markers at the point of insertion remain before the text. | ||
| 2736 | |||
| 2737 | If the current buffer is multibyte and BUFFER is unibyte, or vice | ||
| 2738 | versa, strings are converted from unibyte to multibyte or vice versa | ||
| 2739 | using `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; |