aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2025-01-11 02:28:15 +0100
committerStefan Kangas2025-01-11 05:18:14 +0100
commit6de2ee5663d5cc51831dbdafd77bd71e0811c37b (patch)
tree5c55c18f19ca8c65d94bdabbd6e85bcaf2f1a48b
parent7f76f872ebfd67fb52974426c47bf3d08724d716 (diff)
downloademacs-6de2ee5663d5cc51831dbdafd77bd71e0811c37b.tar.gz
emacs-6de2ee5663d5cc51831dbdafd77bd71e0811c37b.zip
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.
-rw-r--r--doc/lispref/nonascii.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index 696e46d4af9..43d4181e045 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
341base buffer. 341base buffer.
342@end defun 342@end defun
343 343
344The following two functions are obsolete and will be removed in a future
345version of Emacs; use @code{encode-coding-string} instead.
346
344@defun string-as-unibyte string 347@defun string-as-unibyte string
345If @var{string} is already a unibyte string, this function returns 348If @var{string} is already a unibyte string, this function returns
346@var{string} itself. Otherwise, it returns a new string with the same 349@var{string} itself. Otherwise, it returns a new string with the same