changeset 59944:b58bba262639

(Modifying Strings): clear-string can make unibyte. (Formatting Strings): format gives error if values missing.
author Richard M. Stallman <rms@gnu.org>
date Sun, 06 Feb 2005 10:58:01 +0000
parents 1b1724ddcdad
children e568af229081
files lispref/strings.texi
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/strings.texi	Sun Feb 06 10:54:05 2005 +0000
+++ b/lispref/strings.texi	Sun Feb 06 10:58:01 2005 +0000
@@ -383,8 +383,9 @@
 @code{clear-string}:
 
 @defun clear-string string
-This clears the contents of @var{string} to zeros
-and may change its length.
+This clears the contents of @var{string} to zeros.
+It may also change @var{string}'s length and convert it to
+a unibyte string.
 @end defun
 
 @need 2000
@@ -714,8 +715,8 @@
 @var{objects}.  Thus, the first format specification in @var{string}
 uses the first such value, the second format specification uses the
 second such value, and so on.  Any extra format specifications (those
-for which there are no corresponding values) cause unpredictable
-behavior.  Any extra values to be formatted are ignored.
+for which there are no corresponding values) cause an error.  Any
+extra values to be formatted are ignored.
 
   Certain format specifications require values of particular types.  If
 you supply a value that doesn't fit the requirements, an error is