aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Müller2025-01-04 10:37:59 +0100
committerEli Zaretskii2025-01-04 15:31:24 +0200
commit6468c3f7a74133b130d15172d770c8b7eebfeac5 (patch)
treeae70a0c8a6cc8cdad274297de81b639089d5eac4
parent6d8c3c0cbe42c4b288679456f0eec9a78593e2a5 (diff)
downloademacs-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.c4
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
1365When operating on binary data, it may be necessary to preserve the 1365When operating on binary data, it may be necessary to preserve the
1366original bytes of a unibyte string when inserting it into a multibyte 1366original bytes of a unibyte string when inserting it into a multibyte
1367buffer; to accomplish this, apply `string-as-multibyte' to the string 1367buffer; to accomplish this, apply `decode-coding-string' with the
1368and insert the result. 1368`no-conversion' coding system to the string and insert the result.
1369 1369
1370usage: (insert &rest ARGS) */) 1370usage: (insert &rest ARGS) */)
1371 (ptrdiff_t nargs, Lisp_Object *args) 1371 (ptrdiff_t nargs, Lisp_Object *args)