aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLuc Teirlinck2003-12-23 23:08:08 +0000
committerLuc Teirlinck2003-12-23 23:08:08 +0000
commit0dc72b11db337590ca77b246395f13fd7846cc63 (patch)
treedc95a32390bb11bde0604215efdebe9fa6ab4ff4 /src
parent8d66c08b2b2681a81ba6f6d8375d32938fd96812 (diff)
downloademacs-0dc72b11db337590ca77b246395f13fd7846cc63.tar.gz
emacs-0dc72b11db337590ca77b246395f13fd7846cc63.zip
(Frandom, Fstring_make_multibyte): Doc fixes.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/fns.c14
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 @@
12003-12-23 Luc Teirlinck <teirllm@auburn.edu> 12003-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
diff --git a/src/fns.c b/src/fns.c
index fed948dc29f..3ca6230021b 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -95,7 +95,7 @@ DEFUN ("identity", Fidentity, Sidentity, 1, 1, 0,
95DEFUN ("random", Frandom, Srandom, 0, 1, 0, 95DEFUN ("random", Frandom, Srandom, 0, 1, 0,
96 doc: /* Return a pseudo-random number. 96 doc: /* Return a pseudo-random number.
97All integers representable in Lisp are equally likely. 97All 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.
99With positive integer argument N, return random number in interval [0,N). 99With positive integer argument N, return random number in interval [0,N).
100With argument t, set the random number seed from the current time and pid. */) 100With 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)
1099DEFUN ("string-make-multibyte", Fstring_make_multibyte, Sstring_make_multibyte, 1099DEFUN ("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.
1102The function `unibyte-char-to-multibyte' is used to convert 1102If STRING is unibyte and contains non-ASCII characters, the function
1103each unibyte character to a multibyte character. */) 1103`unibyte-char-to-multibyte' is used to convert each unibyte character
1104to a multibyte character. In this case, the returned string is a
1105newly created string with no text properties. If STRING is multibyte
1106or entirely ASCII, it is returned unchanged. In particular, when
1107STRING is unibyte and entirely ASCII, the returned string is unibyte.
1108\(When the characters are all ASCII, Emacs primitives will treat the
1109string 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
5649used if both `use-dialog-box' and this variable are non-nil. */); 5655used 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);