projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f76f87
)
Document string-as-{unibyte,multibyte} as obsolete in manual
author
Stefan Kangas
<stefankangas@gmail.com>
Sat, 11 Jan 2025 01:28:15 +0000
(
02:28
+0100)
committer
Stefan Kangas
<stefankangas@gmail.com>
Sat, 11 Jan 2025 04:18:14 +0000
(
05:18
+0100)
* doc/lispref/nonascii.texi (Selecting a Representation): Document
string-as-unibyte and string-as-multibyte as obsolete.
doc/lispref/nonascii.texi
patch
|
blob
|
history
diff --git
a/doc/lispref/nonascii.texi
b/doc/lispref/nonascii.texi
index 696e46d4af95fa1cce0ea5c7f4acb80c511df387..43d4181e045547d6f645991f5bd5208d7ea578dd 100644
(file)
--- 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