aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-02-06 10:58:01 +0000
committerRichard M. Stallman2005-02-06 10:58:01 +0000
commit376dfc01c5c4d8e19a5bb4f5ef5a5f3384369094 (patch)
tree554b3618f7d44dcea24ea214b09d852442d9ea67
parent938183e599a41a89a686e37014cd6655166cd73c (diff)
downloademacs-376dfc01c5c4d8e19a5bb4f5ef5a5f3384369094.tar.gz
emacs-376dfc01c5c4d8e19a5bb4f5ef5a5f3384369094.zip
(Modifying Strings): clear-string can make unibyte.
(Formatting Strings): format gives error if values missing.
-rw-r--r--lispref/strings.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/lispref/strings.texi b/lispref/strings.texi
index a29e84f8edd..cca19ffbe92 100644
--- a/lispref/strings.texi
+++ b/lispref/strings.texi
@@ -383,8 +383,9 @@ character currently present at that point in @var{string}.
383@code{clear-string}: 383@code{clear-string}:
384 384
385@defun clear-string string 385@defun clear-string string
386This clears the contents of @var{string} to zeros 386This clears the contents of @var{string} to zeros.
387and may change its length. 387It may also change @var{string}'s length and convert it to
388a unibyte string.
388@end defun 389@end defun
389 390
390@need 2000 391@need 2000
@@ -714,8 +715,8 @@ format specifications correspond to successive values from
714@var{objects}. Thus, the first format specification in @var{string} 715@var{objects}. Thus, the first format specification in @var{string}
715uses the first such value, the second format specification uses the 716uses the first such value, the second format specification uses the
716second such value, and so on. Any extra format specifications (those 717second such value, and so on. Any extra format specifications (those
717for which there are no corresponding values) cause unpredictable 718for which there are no corresponding values) cause an error. Any
718behavior. Any extra values to be formatted are ignored. 719extra values to be formatted are ignored.
719 720
720 Certain format specifications require values of particular types. If 721 Certain format specifications require values of particular types. If
721you supply a value that doesn't fit the requirements, an error is 722you supply a value that doesn't fit the requirements, an error is