diff options
| author | Pavel Janík | 2001-10-20 20:56:10 +0000 |
|---|---|---|
| committer | Pavel Janík | 2001-10-20 20:56:10 +0000 |
| commit | fdb82f93376a6b495c573a6c788b807acffdbfa9 (patch) | |
| tree | 107b731b733908446a3902f6ce0e4f2d23dcd8f9 /src/casefiddle.c | |
| parent | c0a53abba1d89bb487e3a38a0e7336bdce46fd1d (diff) | |
| download | emacs-fdb82f93376a6b495c573a6c788b807acffdbfa9.tar.gz emacs-fdb82f93376a6b495c573a6c788b807acffdbfa9.zip | |
Change doc-string comments to `new style' [w/`doc:' keyword].
Diffstat (limited to 'src/casefiddle.c')
| -rw-r--r-- | src/casefiddle.c | 108 |
1 files changed, 54 insertions, 54 deletions
diff --git a/src/casefiddle.c b/src/casefiddle.c index 61928794ec1..47f355461a8 100644 --- a/src/casefiddle.c +++ b/src/casefiddle.c | |||
| @@ -134,33 +134,33 @@ casify_object (flag, obj) | |||
| 134 | } | 134 | } |
| 135 | 135 | ||
| 136 | DEFUN ("upcase", Fupcase, Supcase, 1, 1, 0, | 136 | DEFUN ("upcase", Fupcase, Supcase, 1, 1, 0, |
| 137 | "Convert argument to upper case and return that.\n\ | 137 | doc: /* Convert argument to upper case and return that. |
| 138 | The argument may be a character or string. The result has the same type.\n\ | 138 | The argument may be a character or string. The result has the same type. |
| 139 | The argument object is not altered--the value is a copy.\n\ | 139 | The argument object is not altered--the value is a copy. |
| 140 | See also `capitalize', `downcase' and `upcase-initials'.") | 140 | See also `capitalize', `downcase' and `upcase-initials'. */) |
| 141 | (obj) | 141 | (obj) |
| 142 | Lisp_Object obj; | 142 | Lisp_Object obj; |
| 143 | { | 143 | { |
| 144 | return casify_object (CASE_UP, obj); | 144 | return casify_object (CASE_UP, obj); |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | DEFUN ("downcase", Fdowncase, Sdowncase, 1, 1, 0, | 147 | DEFUN ("downcase", Fdowncase, Sdowncase, 1, 1, 0, |
| 148 | "Convert argument to lower case and return that.\n\ | 148 | doc: /* Convert argument to lower case and return that. |
| 149 | The argument may be a character or string. The result has the same type.\n\ | 149 | The argument may be a character or string. The result has the same type. |
| 150 | The argument object is not altered--the value is a copy.") | 150 | The argument object is not altered--the value is a copy. */) |
| 151 | (obj) | 151 | (obj) |
| 152 | Lisp_Object obj; | 152 | Lisp_Object obj; |
| 153 | { | 153 | { |
| 154 | return casify_object (CASE_DOWN, obj); | 154 | return casify_object (CASE_DOWN, obj); |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | DEFUN ("capitalize", Fcapitalize, Scapitalize, 1, 1, 0, | 157 | DEFUN ("capitalize", Fcapitalize, Scapitalize, 1, 1, 0, |
| 158 | "Convert argument to capitalized form and return that.\n\ | 158 | doc: /* Convert argument to capitalized form and return that. |
| 159 | This means that each word's first character is upper case\n\ | 159 | This means that each word's first character is upper case |
| 160 | and the rest is lower case.\n\ | 160 | and the rest is lower case. |
| 161 | The argument may be a character or string. The result has the same type.\n\ | 161 | The argument may be a character or string. The result has the same type. |
| 162 | The argument object is not altered--the value is a copy.") | 162 | The argument object is not altered--the value is a copy. */) |
| 163 | (obj) | 163 | (obj) |
| 164 | Lisp_Object obj; | 164 | Lisp_Object obj; |
| 165 | { | 165 | { |
| 166 | return casify_object (CASE_CAPITALIZE, obj); | 166 | return casify_object (CASE_CAPITALIZE, obj); |
| @@ -169,11 +169,11 @@ The argument object is not altered--the value is a copy.") | |||
| 169 | /* Like Fcapitalize but change only the initials. */ | 169 | /* Like Fcapitalize but change only the initials. */ |
| 170 | 170 | ||
| 171 | DEFUN ("upcase-initials", Fupcase_initials, Supcase_initials, 1, 1, 0, | 171 | DEFUN ("upcase-initials", Fupcase_initials, Supcase_initials, 1, 1, 0, |
| 172 | "Convert the initial of each word in the argument to upper case.\n\ | 172 | doc: /* Convert the initial of each word in the argument to upper case. |
| 173 | Do not change the other letters of each word.\n\ | 173 | Do not change the other letters of each word. |
| 174 | The argument may be a character or string. The result has the same type.\n\ | 174 | The argument may be a character or string. The result has the same type. |
| 175 | The argument object is not altered--the value is a copy.") | 175 | The argument object is not altered--the value is a copy. */) |
| 176 | (obj) | 176 | (obj) |
| 177 | Lisp_Object obj; | 177 | Lisp_Object obj; |
| 178 | { | 178 | { |
| 179 | return casify_object (CASE_CAPITALIZE_UP, obj); | 179 | return casify_object (CASE_CAPITALIZE_UP, obj); |
| @@ -293,12 +293,12 @@ casify_region (flag, b, e) | |||
| 293 | } | 293 | } |
| 294 | 294 | ||
| 295 | DEFUN ("upcase-region", Fupcase_region, Supcase_region, 2, 2, "r", | 295 | DEFUN ("upcase-region", Fupcase_region, Supcase_region, 2, 2, "r", |
| 296 | "Convert the region to upper case. In programs, wants two arguments.\n\ | 296 | doc: /* Convert the region to upper case. In programs, wants two arguments. |
| 297 | These arguments specify the starting and ending character numbers of\n\ | 297 | These arguments specify the starting and ending character numbers of |
| 298 | the region to operate on. When used as a command, the text between\n\ | 298 | the region to operate on. When used as a command, the text between |
| 299 | point and the mark is operated on.\n\ | 299 | point and the mark is operated on. |
| 300 | See also `capitalize-region'.") | 300 | See also `capitalize-region'. */) |
| 301 | (beg, end) | 301 | (beg, end) |
| 302 | Lisp_Object beg, end; | 302 | Lisp_Object beg, end; |
| 303 | { | 303 | { |
| 304 | casify_region (CASE_UP, beg, end); | 304 | casify_region (CASE_UP, beg, end); |
| @@ -306,11 +306,11 @@ See also `capitalize-region'.") | |||
| 306 | } | 306 | } |
| 307 | 307 | ||
| 308 | DEFUN ("downcase-region", Fdowncase_region, Sdowncase_region, 2, 2, "r", | 308 | DEFUN ("downcase-region", Fdowncase_region, Sdowncase_region, 2, 2, "r", |
| 309 | "Convert the region to lower case. In programs, wants two arguments.\n\ | 309 | doc: /* Convert the region to lower case. In programs, wants two arguments. |
| 310 | These arguments specify the starting and ending character numbers of\n\ | 310 | These arguments specify the starting and ending character numbers of |
| 311 | the region to operate on. When used as a command, the text between\n\ | 311 | the region to operate on. When used as a command, the text between |
| 312 | point and the mark is operated on.") | 312 | point and the mark is operated on. */) |
| 313 | (beg, end) | 313 | (beg, end) |
| 314 | Lisp_Object beg, end; | 314 | Lisp_Object beg, end; |
| 315 | { | 315 | { |
| 316 | casify_region (CASE_DOWN, beg, end); | 316 | casify_region (CASE_DOWN, beg, end); |
| @@ -318,12 +318,12 @@ point and the mark is operated on.") | |||
| 318 | } | 318 | } |
| 319 | 319 | ||
| 320 | DEFUN ("capitalize-region", Fcapitalize_region, Scapitalize_region, 2, 2, "r", | 320 | DEFUN ("capitalize-region", Fcapitalize_region, Scapitalize_region, 2, 2, "r", |
| 321 | "Convert the region to capitalized form.\n\ | 321 | doc: /* Convert the region to capitalized form. |
| 322 | Capitalized form means each word's first character is upper case\n\ | 322 | Capitalized form means each word's first character is upper case |
| 323 | and the rest of it is lower case.\n\ | 323 | and the rest of it is lower case. |
| 324 | In programs, give two arguments, the starting and ending\n\ | 324 | In programs, give two arguments, the starting and ending |
| 325 | character positions to operate on.") | 325 | character positions to operate on. */) |
| 326 | (beg, end) | 326 | (beg, end) |
| 327 | Lisp_Object beg, end; | 327 | Lisp_Object beg, end; |
| 328 | { | 328 | { |
| 329 | casify_region (CASE_CAPITALIZE, beg, end); | 329 | casify_region (CASE_CAPITALIZE, beg, end); |
| @@ -334,11 +334,11 @@ character positions to operate on.") | |||
| 334 | 334 | ||
| 335 | DEFUN ("upcase-initials-region", Fupcase_initials_region, | 335 | DEFUN ("upcase-initials-region", Fupcase_initials_region, |
| 336 | Supcase_initials_region, 2, 2, "r", | 336 | Supcase_initials_region, 2, 2, "r", |
| 337 | "Upcase the initial of each word in the region.\n\ | 337 | doc: /* Upcase the initial of each word in the region. |
| 338 | Subsequent letters of each word are not changed.\n\ | 338 | Subsequent letters of each word are not changed. |
| 339 | In programs, give two arguments, the starting and ending\n\ | 339 | In programs, give two arguments, the starting and ending |
| 340 | character positions to operate on.") | 340 | character positions to operate on. */) |
| 341 | (beg, end) | 341 | (beg, end) |
| 342 | Lisp_Object beg, end; | 342 | Lisp_Object beg, end; |
| 343 | { | 343 | { |
| 344 | casify_region (CASE_CAPITALIZE_UP, beg, end); | 344 | casify_region (CASE_CAPITALIZE_UP, beg, end); |
| @@ -367,10 +367,10 @@ operate_on_word (arg, newpoint) | |||
| 367 | } | 367 | } |
| 368 | 368 | ||
| 369 | DEFUN ("upcase-word", Fupcase_word, Supcase_word, 1, 1, "p", | 369 | DEFUN ("upcase-word", Fupcase_word, Supcase_word, 1, 1, "p", |
| 370 | "Convert following word (or ARG words) to upper case, moving over.\n\ | 370 | doc: /* Convert following word (or ARG words) to upper case, moving over. |
| 371 | With negative argument, convert previous words but do not move.\n\ | 371 | With negative argument, convert previous words but do not move. |
| 372 | See also `capitalize-word'.") | 372 | See also `capitalize-word'. */) |
| 373 | (arg) | 373 | (arg) |
| 374 | Lisp_Object arg; | 374 | Lisp_Object arg; |
| 375 | { | 375 | { |
| 376 | Lisp_Object beg, end; | 376 | Lisp_Object beg, end; |
| @@ -383,9 +383,9 @@ See also `capitalize-word'.") | |||
| 383 | } | 383 | } |
| 384 | 384 | ||
| 385 | DEFUN ("downcase-word", Fdowncase_word, Sdowncase_word, 1, 1, "p", | 385 | DEFUN ("downcase-word", Fdowncase_word, Sdowncase_word, 1, 1, "p", |
| 386 | "Convert following word (or ARG words) to lower case, moving over.\n\ | 386 | doc: /* Convert following word (or ARG words) to lower case, moving over. |
| 387 | With negative argument, convert previous words but do not move.") | 387 | With negative argument, convert previous words but do not move. */) |
| 388 | (arg) | 388 | (arg) |
| 389 | Lisp_Object arg; | 389 | Lisp_Object arg; |
| 390 | { | 390 | { |
| 391 | Lisp_Object beg, end; | 391 | Lisp_Object beg, end; |
| @@ -398,11 +398,11 @@ With negative argument, convert previous words but do not move.") | |||
| 398 | } | 398 | } |
| 399 | 399 | ||
| 400 | DEFUN ("capitalize-word", Fcapitalize_word, Scapitalize_word, 1, 1, "p", | 400 | DEFUN ("capitalize-word", Fcapitalize_word, Scapitalize_word, 1, 1, "p", |
| 401 | "Capitalize the following word (or ARG words), moving over.\n\ | 401 | doc: /* Capitalize the following word (or ARG words), moving over. |
| 402 | This gives the word(s) a first character in upper case\n\ | 402 | This gives the word(s) a first character in upper case |
| 403 | and the rest lower case.\n\ | 403 | and the rest lower case. |
| 404 | With negative argument, capitalize previous words but do not move.") | 404 | With negative argument, capitalize previous words but do not move. */) |
| 405 | (arg) | 405 | (arg) |
| 406 | Lisp_Object arg; | 406 | Lisp_Object arg; |
| 407 | { | 407 | { |
| 408 | Lisp_Object beg, end; | 408 | Lisp_Object beg, end; |