From 858f94f942cb40481ac8bc83a36ae5555066c1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Sat, 4 Jan 2025 10:37:59 +0100 Subject: [PATCH] Update 'insert' doc string * src/editfns.c (Finsert): Mention 'decode-coding-string' instead of the obsolete 'string-as-multibyte' in doc string. --- src/editfns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editfns.c b/src/editfns.c index 581bd03798e..8a5fb673fe7 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -1363,8 +1363,8 @@ DEFUN ("insert", Finsert, Sinsert, 0, MANY, 0, 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) -- 2.47.1