]> git.eshelyaron.com Git - emacs.git/commitdiff
Document string-as-{unibyte,multibyte} as obsolete in manual
authorStefan Kangas <stefankangas@gmail.com>
Sat, 11 Jan 2025 01:28:15 +0000 (02:28 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 12 Jan 2025 10:58:58 +0000 (11:58 +0100)
* 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

index cbfb1fc243d95ce01f1e1d83027712c804e7721c..345460e2cda8070defc2ad7ab899502a957b486c 100644 (file)
@@ -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