diff options
| author | Juanma Barranquero | 2006-11-12 04:51:55 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2006-11-12 04:51:55 +0000 |
| commit | adf2c80377e70eb828c52d6ae856221e8de66196 (patch) | |
| tree | 28057134a69ebe8b0efce32d1b3427587798acd3 /src | |
| parent | 31fb1b2c67118f9444c630850d3758085a097af7 (diff) | |
| download | emacs-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.c | 18 |
1 files changed, 9 insertions, 9 deletions
| @@ -103,7 +103,7 @@ DEFUN ("random", Frandom, Srandom, 0, 1, 0, | |||
| 103 | All integers representable in Lisp are equally likely. | 103 | All 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. |
| 105 | With positive integer argument N, return random number in interval [0,N). | 105 | With positive integer argument N, return random number in interval [0,N). |
| 106 | With argument t, set the random number seed from the current time and pid. */) | 106 | With 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, | |||
| 140 | A byte-code function object is also allowed. | 140 | A byte-code function object is also allowed. |
| 141 | If the string contains multibyte characters, this is not necessarily | 141 | If the string contains multibyte characters, this is not necessarily |
| 142 | the number of bytes in the string; it is the number of characters. | 142 | the number of bytes in the string; it is the number of characters. |
| 143 | To get the number of bytes, use `string-bytes'. */) | 143 | To 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. |
| 194 | This function never gets an error. If LIST is not really a list, | 194 | This function never gets an error. If LIST is not really a list, |
| 195 | it returns 0. If LIST is circular, it returns a finite value | 195 | it returns 0. If LIST is circular, it returns a finite value |
| 196 | which is at least the number of distinct elements. */) | 196 | which 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 | ||
| 218 | DEFUN ("string-bytes", Fstring_bytes, Sstring_bytes, 1, 1, 0, | 218 | DEFUN ("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. |
| 220 | If STRING is a multibyte string, this is greater than the length of STRING. */) | 220 | If 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. */) | |||
| 228 | DEFUN ("string-equal", Fstring_equal, Sstring_equal, 2, 2, 0, | 228 | DEFUN ("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. |
| 230 | Case is significant, but text properties are ignored. | 230 | Case is significant, but text properties are ignored. |
| 231 | Symbols are also allowed; their print names are used instead. */) | 231 | Symbols 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. | |||
| 260 | If string STR1 is less, the value is a negative number N; | 260 | If 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. |
| 262 | If string STR1 is greater, the value is a positive number N; | 262 | If 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; | |||
| 352 | DEFUN ("string-lessp", Fstring_lessp, Sstring_lessp, 2, 2, 0, | 352 | DEFUN ("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. |
| 354 | Case is significant. | 354 | Case is significant. |
| 355 | Symbols are also allowed; their print names are used instead. */) | 355 | Symbols 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) | |||
| 488 | DEFUN ("copy-sequence", Fcopy_sequence, Scopy_sequence, 1, 1, 0, | 488 | DEFUN ("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. |
| 490 | The elements of a list or vector are not copied; they are shared | 490 | The elements of a list or vector are not copied; they are shared |
| 491 | with the original. */) | 491 | with 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, | |||
| 1109 | Multibyte character codes are converted to unibyte according to | 1109 | Multibyte 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'. |
| 1111 | If the lookup in the translation table fails, this function takes just | 1111 | If the lookup in the translation table fails, this function takes just |
| 1112 | the low 8 bits of each character. */) | 1112 | the low 8 bits of each character. */) |
| 1113 | (string) | 1113 | (string) |
| 1114 | Lisp_Object string; | 1114 | Lisp_Object string; |
| 1115 | { | 1115 | { |