aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2006-11-12 04:51:55 +0000
committerJuanma Barranquero2006-11-12 04:51:55 +0000
commitadf2c80377e70eb828c52d6ae856221e8de66196 (patch)
tree28057134a69ebe8b0efce32d1b3427587798acd3 /src
parent31fb1b2c67118f9444c630850d3758085a097af7 (diff)
downloademacs-adf2c80377e70eb828c52d6ae856221e8de66196.tar.gz
emacs-adf2c80377e70eb828c52d6ae856221e8de66196.zip
(Frandom, Flength, Fsafe_length, Fstring_bytes, Fstring_equal, Fcompare_strings,
Fstring_lessp, Fcopy_sequence, Fstring_make_unibyte): Fix typos in docstrings.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/fns.c b/src/fns.c
index 98e808d4506..507bf229e47 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -103,7 +103,7 @@ DEFUN ("random", Frandom, Srandom, 0, 1, 0,
103All integers representable in Lisp are equally likely. 103All integers representable in Lisp are equally likely.
104 On most systems, this is 29 bits' worth. 104 On most systems, this is 29 bits' worth.
105With positive integer argument N, return random number in interval [0,N). 105With positive integer argument N, return random number in interval [0,N).
106With argument t, set the random number seed from the current time and pid. */) 106With argument t, set the random number seed from the current time and pid. */)
107 (n) 107 (n)
108 Lisp_Object n; 108 Lisp_Object n;
109{ 109{
@@ -140,7 +140,7 @@ DEFUN ("length", Flength, Slength, 1, 1, 0,
140A byte-code function object is also allowed. 140A byte-code function object is also allowed.
141If the string contains multibyte characters, this is not necessarily 141If the string contains multibyte characters, this is not necessarily
142the number of bytes in the string; it is the number of characters. 142the number of bytes in the string; it is the number of characters.
143To get the number of bytes, use `string-bytes'. */) 143To get the number of bytes, use `string-bytes'. */)
144 (sequence) 144 (sequence)
145 register Lisp_Object sequence; 145 register Lisp_Object sequence;
146{ 146{
@@ -193,7 +193,7 @@ DEFUN ("safe-length", Fsafe_length, Ssafe_length, 1, 1, 0,
193 doc: /* Return the length of a list, but avoid error or infinite loop. 193 doc: /* Return the length of a list, but avoid error or infinite loop.
194This function never gets an error. If LIST is not really a list, 194This function never gets an error. If LIST is not really a list,
195it returns 0. If LIST is circular, it returns a finite value 195it returns 0. If LIST is circular, it returns a finite value
196which is at least the number of distinct elements. */) 196which is at least the number of distinct elements. */)
197 (list) 197 (list)
198 Lisp_Object list; 198 Lisp_Object list;
199{ 199{
@@ -217,7 +217,7 @@ which is at least the number of distinct elements. */)
217 217
218DEFUN ("string-bytes", Fstring_bytes, Sstring_bytes, 1, 1, 0, 218DEFUN ("string-bytes", Fstring_bytes, Sstring_bytes, 1, 1, 0,
219 doc: /* Return the number of bytes in STRING. 219 doc: /* Return the number of bytes in STRING.
220If STRING is a multibyte string, this is greater than the length of STRING. */) 220If STRING is a multibyte string, this is greater than the length of STRING. */)
221 (string) 221 (string)
222 Lisp_Object string; 222 Lisp_Object string;
223{ 223{
@@ -228,7 +228,7 @@ If STRING is a multibyte string, this is greater than the length of STRING. */)
228DEFUN ("string-equal", Fstring_equal, Sstring_equal, 2, 2, 0, 228DEFUN ("string-equal", Fstring_equal, Sstring_equal, 2, 2, 0,
229 doc: /* Return t if two strings have identical contents. 229 doc: /* Return t if two strings have identical contents.
230Case is significant, but text properties are ignored. 230Case is significant, but text properties are ignored.
231Symbols are also allowed; their print names are used instead. */) 231Symbols are also allowed; their print names are used instead. */)
232 (s1, s2) 232 (s1, s2)
233 register Lisp_Object s1, s2; 233 register Lisp_Object s1, s2;
234{ 234{
@@ -260,7 +260,7 @@ The value is t if the strings (or specified portions) match.
260If string STR1 is less, the value is a negative number N; 260If string STR1 is less, the value is a negative number N;
261 - 1 - N is the number of characters that match at the beginning. 261 - 1 - N is the number of characters that match at the beginning.
262If string STR1 is greater, the value is a positive number N; 262If string STR1 is greater, the value is a positive number N;
263 N - 1 is the number of characters that match at the beginning. */) 263 N - 1 is the number of characters that match at the beginning. */)
264 (str1, start1, end1, str2, start2, end2, ignore_case) 264 (str1, start1, end1, str2, start2, end2, ignore_case)
265 Lisp_Object str1, start1, end1, start2, str2, end2, ignore_case; 265 Lisp_Object str1, start1, end1, start2, str2, end2, ignore_case;
266{ 266{
@@ -352,7 +352,7 @@ If string STR1 is greater, the value is a positive number N;
352DEFUN ("string-lessp", Fstring_lessp, Sstring_lessp, 2, 2, 0, 352DEFUN ("string-lessp", Fstring_lessp, Sstring_lessp, 2, 2, 0,
353 doc: /* Return t if first arg string is less than second in lexicographic order. 353 doc: /* Return t if first arg string is less than second in lexicographic order.
354Case is significant. 354Case is significant.
355Symbols are also allowed; their print names are used instead. */) 355Symbols are also allowed; their print names are used instead. */)
356 (s1, s2) 356 (s1, s2)
357 register Lisp_Object s1, s2; 357 register Lisp_Object s1, s2;
358{ 358{
@@ -488,7 +488,7 @@ copy_sub_char_table (arg)
488DEFUN ("copy-sequence", Fcopy_sequence, Scopy_sequence, 1, 1, 0, 488DEFUN ("copy-sequence", Fcopy_sequence, Scopy_sequence, 1, 1, 0,
489 doc: /* Return a copy of a list, vector, string or char-table. 489 doc: /* Return a copy of a list, vector, string or char-table.
490The elements of a list or vector are not copied; they are shared 490The elements of a list or vector are not copied; they are shared
491with the original. */) 491with the original. */)
492 (arg) 492 (arg)
493 Lisp_Object arg; 493 Lisp_Object arg;
494{ 494{
@@ -1109,7 +1109,7 @@ DEFUN ("string-make-unibyte", Fstring_make_unibyte, Sstring_make_unibyte,
1109Multibyte character codes are converted to unibyte according to 1109Multibyte character codes are converted to unibyte according to
1110`nonascii-translation-table' or, if that is nil, `nonascii-insert-offset'. 1110`nonascii-translation-table' or, if that is nil, `nonascii-insert-offset'.
1111If the lookup in the translation table fails, this function takes just 1111If the lookup in the translation table fails, this function takes just
1112the low 8 bits of each character. */) 1112the low 8 bits of each character. */)
1113 (string) 1113 (string)
1114 Lisp_Object string; 1114 Lisp_Object string;
1115{ 1115{