diff options
| author | Ulrich Müller | 2025-01-04 10:37:59 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2025-01-04 15:31:24 +0200 |
| commit | 6468c3f7a74133b130d15172d770c8b7eebfeac5 (patch) | |
| tree | ae70a0c8a6cc8cdad274297de81b639089d5eac4 | |
| parent | 6d8c3c0cbe42c4b288679456f0eec9a78593e2a5 (diff) | |
| download | emacs-6468c3f7a74133b130d15172d770c8b7eebfeac5.tar.gz emacs-6468c3f7a74133b130d15172d770c8b7eebfeac5.zip | |
Update doc string of 'insert'
* src/editfns.c (Finsert): Mention 'decode-coding-string' instead
of the obsolete 'string-as-multibyte' in doc string. (Bug#75345)
| -rw-r--r-- | src/editfns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c index a3676892444..e02cf14b968 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1364,8 +1364,8 @@ to unibyte for insertion (see `string-make-unibyte'). | |||
| 1364 | 1364 | ||
| 1365 | When operating on binary data, it may be necessary to preserve the | 1365 | When operating on binary data, it may be necessary to preserve the |
| 1366 | original bytes of a unibyte string when inserting it into a multibyte | 1366 | original bytes of a unibyte string when inserting it into a multibyte |
| 1367 | buffer; to accomplish this, apply `string-as-multibyte' to the string | 1367 | buffer; to accomplish this, apply `decode-coding-string' with the |
| 1368 | and insert the result. | 1368 | `no-conversion' coding system to the string and insert the result. |
| 1369 | 1369 | ||
| 1370 | usage: (insert &rest ARGS) */) | 1370 | usage: (insert &rest ARGS) */) |
| 1371 | (ptrdiff_t nargs, Lisp_Object *args) | 1371 | (ptrdiff_t nargs, Lisp_Object *args) |