aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2003-01-17 12:30:34 +0000
committerKim F. Storm2003-01-17 12:30:34 +0000
commit72bb55c6b2629bd33255e8fa7064cc1a4247f487 (patch)
tree80db63407fd09cefc4fd4a9c7f65dac0daab95a8
parentc8e88f8d4631f28d46f1114ee1bf2699e37c2379 (diff)
downloademacs-72bb55c6b2629bd33255e8fa7064cc1a4247f487.tar.gz
emacs-72bb55c6b2629bd33255e8fa7064cc1a4247f487.zip
(Finsert): Mention `string-make-multibyte' and
`string-as-multibyte' in doc string.
-rw-r--r--src/editfns.c9
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
2061Any other markers at the point of insertion remain before the text. 2061Any other markers at the point of insertion remain before the text.
2062 2062
2063If the current buffer is multibyte, unibyte strings are converted 2063If the current buffer is multibyte, unibyte strings are converted
2064to multibyte for insertion (see `unibyte-char-to-multibyte'). 2064to multibyte for insertion (see `string-make-multibyte').
2065If the current buffer is unibyte, multibyte strings are converted 2065If the current buffer is unibyte, multibyte strings are converted
2066to unibyte for insertion. 2066to unibyte for insertion (see `string-make-unibyte').
2067
2068When operating on binary data, it may be necessary to preserve the
2069original bytes of a unibyte string when inserting it into a multibyte
2070buffer; to accomplish this, apply `string-as-multibyte' to the string
2071and insert the result.
2067 2072
2068usage: (insert &rest ARGS) */) 2073usage: (insert &rest ARGS) */)
2069 (nargs, args) 2074 (nargs, args)