Mercurial > emacs
diff src/casefiddle.c @ 109179:8cfee7d2955f
Convert DEFUNs to standard C.
* src/alloc.c: Convert DEFUNs to standard C.
* src/buffer.c:
* src/bytecode.c:
* src/callint.c:
* src/callproc.c:
* src/casefiddle.c:
* src/casetab.c:
* src/category.c:
* src/character.c:
* src/charset.c:
* src/chartab.c:
* src/cmds.c:
* src/coding.c:
* src/composite.c:
* src/data.c:
* src/dbusbind.c:
* src/dired.c:
* src/dispnew.c:
* src/doc.c:
* src/dosfns.c:
* src/editfns.c:
* src/emacs.c:
* src/eval.c:
* src/fileio.c:
* src/filelock.c:
* src/floatfns.c:
* src/fns.c:
* src/font.c:
* src/fontset.c:
* src/frame.c:
* src/fringe.c:
* src/image.c:
* src/indent.c:
* src/insdel.c:
* src/keyboard.c:
* src/keymap.c:
* src/lread.c:
* src/macros.c:
* src/marker.c:
* src/menu.c:
* src/minibuf.c:
* src/msdos.c:
* src/nsfns.m:
* src/nsmenu.m:
* src/nsselect.m:
* src/print.c:
* src/process.c:
* src/search.c:
* src/sound.c:
* src/syntax.c:
* src/term.c:
* src/terminal.c:
* src/textprop.c:
* src/undo.c:
* src/w16select.c:
* src/w32console.c:
* src/w32fns.c:
* src/w32font.c:
* src/w32menu.c:
* src/w32proc.c:
* src/w32select.c:
* src/window.c:
* src/xdisp.c:
* src/xfaces.c:
* src/xfns.c:
* src/xmenu.c:
* src/xselect.c:
* src/xsettings.c:
* src/xsmfns.c: Likewise.
| author | Dan Nicolaescu <dann@ics.uci.edu> |
|---|---|
| date | Thu, 08 Jul 2010 14:25:08 -0700 |
| parents | 750db9f3e6d8 |
| children | 818e325e0469 |
line wrap: on
line diff
--- a/src/casefiddle.c Thu Jul 08 21:04:31 2010 +0300 +++ b/src/casefiddle.c Thu Jul 08 14:25:08 2010 -0700 @@ -153,8 +153,7 @@ The argument may be a character or string. The result has the same type. The argument object is not altered--the value is a copy. See also `capitalize', `downcase' and `upcase-initials'. */) - (obj) - Lisp_Object obj; + (Lisp_Object obj) { return casify_object (CASE_UP, obj); } @@ -163,8 +162,7 @@ doc: /* Convert argument to lower case and return that. The argument may be a character or string. The result has the same type. The argument object is not altered--the value is a copy. */) - (obj) - Lisp_Object obj; + (Lisp_Object obj) { return casify_object (CASE_DOWN, obj); } @@ -175,8 +173,7 @@ and the rest is lower case. The argument may be a character or string. The result has the same type. The argument object is not altered--the value is a copy. */) - (obj) - Lisp_Object obj; + (Lisp_Object obj) { return casify_object (CASE_CAPITALIZE, obj); } @@ -188,8 +185,7 @@ Do not change the other letters of each word. The argument may be a character or string. The result has the same type. The argument object is not altered--the value is a copy. */) - (obj) - Lisp_Object obj; + (Lisp_Object obj) { return casify_object (CASE_CAPITALIZE_UP, obj); } @@ -306,8 +302,7 @@ the region to operate on. When used as a command, the text between point and the mark is operated on. See also `capitalize-region'. */) - (beg, end) - Lisp_Object beg, end; + (Lisp_Object beg, Lisp_Object end) { casify_region (CASE_UP, beg, end); return Qnil; @@ -318,8 +313,7 @@ These arguments specify the starting and ending character numbers of the region to operate on. When used as a command, the text between point and the mark is operated on. */) - (beg, end) - Lisp_Object beg, end; + (Lisp_Object beg, Lisp_Object end) { casify_region (CASE_DOWN, beg, end); return Qnil; @@ -331,8 +325,7 @@ and the rest of it is lower case. In programs, give two arguments, the starting and ending character positions to operate on. */) - (beg, end) - Lisp_Object beg, end; + (Lisp_Object beg, Lisp_Object end) { casify_region (CASE_CAPITALIZE, beg, end); return Qnil; @@ -346,8 +339,7 @@ Subsequent letters of each word are not changed. In programs, give two arguments, the starting and ending character positions to operate on. */) - (beg, end) - Lisp_Object beg, end; + (Lisp_Object beg, Lisp_Object end) { casify_region (CASE_CAPITALIZE_UP, beg, end); return Qnil; @@ -376,8 +368,7 @@ doc: /* Convert following word (or ARG words) to upper case, moving over. With negative argument, convert previous words but do not move. See also `capitalize-word'. */) - (arg) - Lisp_Object arg; + (Lisp_Object arg) { Lisp_Object beg, end; EMACS_INT newpoint; @@ -391,8 +382,7 @@ DEFUN ("downcase-word", Fdowncase_word, Sdowncase_word, 1, 1, "p", doc: /* Convert following word (or ARG words) to lower case, moving over. With negative argument, convert previous words but do not move. */) - (arg) - Lisp_Object arg; + (Lisp_Object arg) { Lisp_Object beg, end; EMACS_INT newpoint; @@ -408,8 +398,7 @@ This gives the word(s) a first character in upper case and the rest lower case. With negative argument, capitalize previous words but do not move. */) - (arg) - Lisp_Object arg; + (Lisp_Object arg) { Lisp_Object beg, end; EMACS_INT newpoint;
