diff options
| author | Kim F. Storm | 2003-01-17 12:30:34 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2003-01-17 12:30:34 +0000 |
| commit | 72bb55c6b2629bd33255e8fa7064cc1a4247f487 (patch) | |
| tree | 80db63407fd09cefc4fd4a9c7f65dac0daab95a8 /src | |
| parent | c8e88f8d4631f28d46f1114ee1bf2699e37c2379 (diff) | |
| download | emacs-72bb55c6b2629bd33255e8fa7064cc1a4247f487.tar.gz emacs-72bb55c6b2629bd33255e8fa7064cc1a4247f487.zip | |
(Finsert): Mention `string-make-multibyte' and
`string-as-multibyte' in doc string.
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c index 28c97c11a6b..1df3326762d 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -2061,9 +2061,14 @@ Point and before-insertion markers move forward to end up | |||
| 2061 | Any other markers at the point of insertion remain before the text. | 2061 | Any other markers at the point of insertion remain before the text. |
| 2062 | 2062 | ||
| 2063 | If the current buffer is multibyte, unibyte strings are converted | 2063 | If the current buffer is multibyte, unibyte strings are converted |
| 2064 | to multibyte for insertion (see `unibyte-char-to-multibyte'). | 2064 | to multibyte for insertion (see `string-make-multibyte'). |
| 2065 | If the current buffer is unibyte, multibyte strings are converted | 2065 | If the current buffer is unibyte, multibyte strings are converted |
| 2066 | to unibyte for insertion. | 2066 | to unibyte for insertion (see `string-make-unibyte'). |
| 2067 | |||
| 2068 | When operating on binary data, it may be necessary to preserve the | ||
| 2069 | original bytes of a unibyte string when inserting it into a multibyte | ||
| 2070 | buffer; to accomplish this, apply `string-as-multibyte' to the string | ||
| 2071 | and insert the result. | ||
| 2067 | 2072 | ||
| 2068 | usage: (insert &rest ARGS) */) | 2073 | usage: (insert &rest ARGS) */) |
| 2069 | (nargs, args) | 2074 | (nargs, args) |