From a0de1911bca2d87c234d620922166264eedd2568 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 11 Jan 2025 02:28:15 +0100 Subject: [PATCH] Document string-as-{unibyte,multibyte} as obsolete in manual * doc/lispref/nonascii.texi (Selecting a Representation): Document string-as-unibyte and string-as-multibyte as obsolete. (cherry picked from commit 6de2ee5663d5cc51831dbdafd77bd71e0811c37b) --- doc/lispref/nonascii.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index cbfb1fc243d..345460e2cda 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi @@ -341,6 +341,9 @@ buffer. An indirect buffer always inherits the representation of its base buffer. @end defun +The following two functions are obsolete and will be removed in a future +version of Emacs; use @code{encode-coding-string} instead. + @defun string-as-unibyte string If @var{string} is already a unibyte string, this function returns @var{string} itself. Otherwise, it returns a new string with the same -- 2.39.5