diff options
| author | Luc Teirlinck | 2003-12-23 23:08:08 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2003-12-23 23:08:08 +0000 |
| commit | 0dc72b11db337590ca77b246395f13fd7846cc63 (patch) | |
| tree | dc95a32390bb11bde0604215efdebe9fa6ab4ff4 /src | |
| parent | 8d66c08b2b2681a81ba6f6d8375d32938fd96812 (diff) | |
| download | emacs-0dc72b11db337590ca77b246395f13fd7846cc63.tar.gz emacs-0dc72b11db337590ca77b246395f13fd7846cc63.zip | |
(Frandom, Fstring_make_multibyte): Doc fixes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/fns.c | 14 |
2 files changed, 14 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c9da7bc57a1..e3147738f33 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,7 +1,9 @@ | |||
| 1 | 2003-12-23 Luc Teirlinck <teirllm@auburn.edu> | 1 | 2003-12-23 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 2 | ||
| 3 | * minibuf.c (read_minibuf): Allow INITIAL to be a cons of a | 3 | * fns.c (Frandom, Fstring_make_multibyte): Doc fixes. |
| 4 | string and an integer. Adapt the docstring accordingly. | 4 | |
| 5 | * minibuf.c (read_minibuf): Allow INITIAL to be a cons of a string | ||
| 6 | and an integer. Adapt the introductory comment accordingly. | ||
| 5 | (Fread_from_minibuffer): Delete code moved into read_minibuf. | 7 | (Fread_from_minibuffer): Delete code moved into read_minibuf. |
| 6 | Doc fix. | 8 | Doc fix. |
| 7 | (Fread_minibuffer, Fread_no_blanks_input): Adapt to changes in | 9 | (Fread_minibuffer, Fread_no_blanks_input): Adapt to changes in |
| @@ -95,7 +95,7 @@ DEFUN ("identity", Fidentity, Sidentity, 1, 1, 0, | |||
| 95 | DEFUN ("random", Frandom, Srandom, 0, 1, 0, | 95 | DEFUN ("random", Frandom, Srandom, 0, 1, 0, |
| 96 | doc: /* Return a pseudo-random number. | 96 | doc: /* Return a pseudo-random number. |
| 97 | All integers representable in Lisp are equally likely. | 97 | All integers representable in Lisp are equally likely. |
| 98 | On most systems, this is 28 bits' worth. | 98 | On most systems, this is 29 bits' worth. |
| 99 | With positive integer argument N, return random number in interval [0,N). | 99 | With positive integer argument N, return random number in interval [0,N). |
| 100 | With argument t, set the random number seed from the current time and pid. */) | 100 | With argument t, set the random number seed from the current time and pid. */) |
| 101 | (n) | 101 | (n) |
| @@ -1099,8 +1099,14 @@ string_make_unibyte (string) | |||
| 1099 | DEFUN ("string-make-multibyte", Fstring_make_multibyte, Sstring_make_multibyte, | 1099 | DEFUN ("string-make-multibyte", Fstring_make_multibyte, Sstring_make_multibyte, |
| 1100 | 1, 1, 0, | 1100 | 1, 1, 0, |
| 1101 | doc: /* Return the multibyte equivalent of STRING. | 1101 | doc: /* Return the multibyte equivalent of STRING. |
| 1102 | The function `unibyte-char-to-multibyte' is used to convert | 1102 | If STRING is unibyte and contains non-ASCII characters, the function |
| 1103 | each unibyte character to a multibyte character. */) | 1103 | `unibyte-char-to-multibyte' is used to convert each unibyte character |
| 1104 | to a multibyte character. In this case, the returned string is a | ||
| 1105 | newly created string with no text properties. If STRING is multibyte | ||
| 1106 | or entirely ASCII, it is returned unchanged. In particular, when | ||
| 1107 | STRING is unibyte and entirely ASCII, the returned string is unibyte. | ||
| 1108 | \(When the characters are all ASCII, Emacs primitives will treat the | ||
| 1109 | string the same way whether it is unibyte or multibyte.) */) | ||
| 1104 | (string) | 1110 | (string) |
| 1105 | Lisp_Object string; | 1111 | Lisp_Object string; |
| 1106 | { | 1112 | { |
| @@ -5648,7 +5654,7 @@ This applies to commands from menus and tool bar buttons. The value of | |||
| 5648 | `use-dialog-box' takes precedence over this variable, so a file dialog is only | 5654 | `use-dialog-box' takes precedence over this variable, so a file dialog is only |
| 5649 | used if both `use-dialog-box' and this variable are non-nil. */); | 5655 | used if both `use-dialog-box' and this variable are non-nil. */); |
| 5650 | use_file_dialog = 1; | 5656 | use_file_dialog = 1; |
| 5651 | 5657 | ||
| 5652 | defsubr (&Sidentity); | 5658 | defsubr (&Sidentity); |
| 5653 | defsubr (&Srandom); | 5659 | defsubr (&Srandom); |
| 5654 | defsubr (&Slength); | 5660 | defsubr (&Slength); |