diff options
| author | Richard M. Stallman | 2005-02-06 10:58:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-02-06 10:58:01 +0000 |
| commit | 376dfc01c5c4d8e19a5bb4f5ef5a5f3384369094 (patch) | |
| tree | 554b3618f7d44dcea24ea214b09d852442d9ea67 | |
| parent | 938183e599a41a89a686e37014cd6655166cd73c (diff) | |
| download | emacs-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.texi | 9 |
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 |
| 386 | This clears the contents of @var{string} to zeros | 386 | This clears the contents of @var{string} to zeros. |
| 387 | and may change its length. | 387 | It may also change @var{string}'s length and convert it to |
| 388 | a 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} |
| 715 | uses the first such value, the second format specification uses the | 716 | uses the first such value, the second format specification uses the |
| 716 | second such value, and so on. Any extra format specifications (those | 717 | second such value, and so on. Any extra format specifications (those |
| 717 | for which there are no corresponding values) cause unpredictable | 718 | for which there are no corresponding values) cause an error. Any |
| 718 | behavior. Any extra values to be formatted are ignored. | 719 | extra 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 |
| 721 | you supply a value that doesn't fit the requirements, an error is | 722 | you supply a value that doesn't fit the requirements, an error is |