Mercurial > emacs
comparison src/editfns.c @ 49293:41213ea7b9d6
(Finsert): Mention `string-make-multibyte' and
`string-as-multibyte' in doc string.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 17 Jan 2003 12:30:34 +0000 |
parents | 7ec1335b6d36 |
children | f9f7612c767a |
comparison
equal
deleted
inserted
replaced
49292:22acf8859243 | 49293:41213ea7b9d6 |
---|---|
2059 Point and before-insertion markers move forward to end up | 2059 Point and before-insertion markers move forward to end up |
2060 after the inserted text. | 2060 after the inserted text. |
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) |
2070 int nargs; | 2075 int nargs; |
2071 register Lisp_Object *args; | 2076 register Lisp_Object *args; |