From: Ulrich Müller Date: Sat, 4 Jan 2025 09:37:59 +0000 (+0100) Subject: Update doc string of 'insert' X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~136 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6468c3f7a74133b130d15172d770c8b7eebfeac5;p=emacs.git 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) --- 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'). When operating on binary data, it may be necessary to preserve the original bytes of a unibyte string when inserting it into a multibyte -buffer; to accomplish this, apply `string-as-multibyte' to the string -and insert the result. +buffer; to accomplish this, apply `decode-coding-string' with the +`no-conversion' coding system to the string and insert the result. usage: (insert &rest ARGS) */) (ptrdiff_t nargs, Lisp_Object *args)