aboutsummaryrefslogtreecommitdiffstats
path: root/src/casefiddle.c
diff options
context:
space:
mode:
authorPavel Janík2001-10-20 20:56:10 +0000
committerPavel Janík2001-10-20 20:56:10 +0000
commitfdb82f93376a6b495c573a6c788b807acffdbfa9 (patch)
tree107b731b733908446a3902f6ce0e4f2d23dcd8f9 /src/casefiddle.c
parentc0a53abba1d89bb487e3a38a0e7336bdce46fd1d (diff)
downloademacs-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.c108
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
136DEFUN ("upcase", Fupcase, Supcase, 1, 1, 0, 136DEFUN ("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.
138The argument may be a character or string. The result has the same type.\n\ 138The argument may be a character or string. The result has the same type.
139The argument object is not altered--the value is a copy.\n\ 139The argument object is not altered--the value is a copy.
140See also `capitalize', `downcase' and `upcase-initials'.") 140See 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
147DEFUN ("downcase", Fdowncase, Sdowncase, 1, 1, 0, 147DEFUN ("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.
149The argument may be a character or string. The result has the same type.\n\ 149The argument may be a character or string. The result has the same type.
150The argument object is not altered--the value is a copy.") 150The 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
157DEFUN ("capitalize", Fcapitalize, Scapitalize, 1, 1, 0, 157DEFUN ("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.
159This means that each word's first character is upper case\n\ 159This means that each word's first character is upper case
160and the rest is lower case.\n\ 160and the rest is lower case.
161The argument may be a character or string. The result has the same type.\n\ 161The argument may be a character or string. The result has the same type.
162The argument object is not altered--the value is a copy.") 162The 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
171DEFUN ("upcase-initials", Fupcase_initials, Supcase_initials, 1, 1, 0, 171DEFUN ("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.
173Do not change the other letters of each word.\n\ 173Do not change the other letters of each word.
174The argument may be a character or string. The result has the same type.\n\ 174The argument may be a character or string. The result has the same type.
175The argument object is not altered--the value is a copy.") 175The 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
295DEFUN ("upcase-region", Fupcase_region, Supcase_region, 2, 2, "r", 295DEFUN ("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.
297These arguments specify the starting and ending character numbers of\n\ 297These arguments specify the starting and ending character numbers of
298the region to operate on. When used as a command, the text between\n\ 298the region to operate on. When used as a command, the text between
299point and the mark is operated on.\n\ 299point and the mark is operated on.
300See also `capitalize-region'.") 300See 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
308DEFUN ("downcase-region", Fdowncase_region, Sdowncase_region, 2, 2, "r", 308DEFUN ("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.
310These arguments specify the starting and ending character numbers of\n\ 310These arguments specify the starting and ending character numbers of
311the region to operate on. When used as a command, the text between\n\ 311the region to operate on. When used as a command, the text between
312point and the mark is operated on.") 312point 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
320DEFUN ("capitalize-region", Fcapitalize_region, Scapitalize_region, 2, 2, "r", 320DEFUN ("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.
322Capitalized form means each word's first character is upper case\n\ 322Capitalized form means each word's first character is upper case
323and the rest of it is lower case.\n\ 323and the rest of it is lower case.
324In programs, give two arguments, the starting and ending\n\ 324In programs, give two arguments, the starting and ending
325character positions to operate on.") 325character 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
335DEFUN ("upcase-initials-region", Fupcase_initials_region, 335DEFUN ("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.
338Subsequent letters of each word are not changed.\n\ 338Subsequent letters of each word are not changed.
339In programs, give two arguments, the starting and ending\n\ 339In programs, give two arguments, the starting and ending
340character positions to operate on.") 340character 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
369DEFUN ("upcase-word", Fupcase_word, Supcase_word, 1, 1, "p", 369DEFUN ("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.
371With negative argument, convert previous words but do not move.\n\ 371With negative argument, convert previous words but do not move.
372See also `capitalize-word'.") 372See 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
385DEFUN ("downcase-word", Fdowncase_word, Sdowncase_word, 1, 1, "p", 385DEFUN ("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.
387With negative argument, convert previous words but do not move.") 387With 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
400DEFUN ("capitalize-word", Fcapitalize_word, Scapitalize_word, 1, 1, "p", 400DEFUN ("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.
402This gives the word(s) a first character in upper case\n\ 402This gives the word(s) a first character in upper case
403and the rest lower case.\n\ 403and the rest lower case.
404With negative argument, capitalize previous words but do not move.") 404With 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;