]> git.eshelyaron.com Git - emacs.git/commitdiff
(Text Representations): Move string-bytes here.
authorRichard M. Stallman <rms@gnu.org>
Sun, 4 Mar 2007 18:20:37 +0000 (18:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 4 Mar 2007 18:20:37 +0000 (18:20 +0000)
lispref/nonascii.texi

index d733cc808602c9f96e6982bfecf885900d2227a8..3661079c56e197279a6e821f8a9b78926ab6309e 100644 (file)
@@ -111,6 +111,13 @@ out of range, the value is @code{nil}.
 Return @code{t} if @var{string} is a multibyte string.
 @end defun
 
+@defun string-bytes string
+@cindex string, number of bytes
+This function returns the number of bytes in @var{string}.
+If @var{string} is a multibyte string, this can be greater than
+@code{(length @var{string})}.
+@end defun
+
 @node Converting Representations
 @section Converting Text Representations