diff options
| author | Erik Naggum | 1996-01-09 00:30:45 +0000 |
|---|---|---|
| committer | Erik Naggum | 1996-01-09 00:30:45 +0000 |
| commit | 8c22d56c58f4839710362e63d59606a310ef7940 (patch) | |
| tree | 1a0f4d5387a131ac8fe7ea2517d37b8fac49ea4d /src | |
| parent | 7868a9779bd9a92de5195563295762d1203a7609 (diff) | |
| download | emacs-8c22d56c58f4839710362e63d59606a310ef7940.tar.gz emacs-8c22d56c58f4839710362e63d59606a310ef7940.zip | |
(Fupcase_region, Fdowncase_region, Fcapitalize_region,
Fupcase_initials_region): Harmonize arguments with documentation.
Diffstat (limited to 'src')
| -rw-r--r-- | src/casefiddle.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/casefiddle.c b/src/casefiddle.c index a208809ae2a..d6d72877a66 100644 --- a/src/casefiddle.c +++ b/src/casefiddle.c | |||
| @@ -160,10 +160,10 @@ These arguments specify the starting and ending character numbers of\n\ | |||
| 160 | the region to operate on. When used as a command, the text between\n\ | 160 | the region to operate on. When used as a command, the text between\n\ |
| 161 | point and the mark is operated on.\n\ | 161 | point and the mark is operated on.\n\ |
| 162 | See also `capitalize-region'.") | 162 | See also `capitalize-region'.") |
| 163 | (b, e) | 163 | (beg, end) |
| 164 | Lisp_Object b, e; | 164 | Lisp_Object beg, end; |
| 165 | { | 165 | { |
| 166 | casify_region (CASE_UP, b, e); | 166 | casify_region (CASE_UP, beg, end); |
| 167 | return Qnil; | 167 | return Qnil; |
| 168 | } | 168 | } |
| 169 | 169 | ||
| @@ -172,10 +172,10 @@ DEFUN ("downcase-region", Fdowncase_region, Sdowncase_region, 2, 2, "r", | |||
| 172 | These arguments specify the starting and ending character numbers of\n\ | 172 | These arguments specify the starting and ending character numbers of\n\ |
| 173 | the region to operate on. When used as a command, the text between\n\ | 173 | the region to operate on. When used as a command, the text between\n\ |
| 174 | point and the mark is operated on.") | 174 | point and the mark is operated on.") |
| 175 | (b, e) | 175 | (beg, end) |
| 176 | Lisp_Object b, e; | 176 | Lisp_Object beg, end; |
| 177 | { | 177 | { |
| 178 | casify_region (CASE_DOWN, b, e); | 178 | casify_region (CASE_DOWN, beg, end); |
| 179 | return Qnil; | 179 | return Qnil; |
| 180 | } | 180 | } |
| 181 | 181 | ||
| @@ -185,10 +185,10 @@ Capitalized form means each word's first character is upper case\n\ | |||
| 185 | and the rest of it is lower case.\n\ | 185 | and the rest of it is lower case.\n\ |
| 186 | In programs, give two arguments, the starting and ending\n\ | 186 | In programs, give two arguments, the starting and ending\n\ |
| 187 | character positions to operate on.") | 187 | character positions to operate on.") |
| 188 | (b, e) | 188 | (beg, end) |
| 189 | Lisp_Object b, e; | 189 | Lisp_Object beg, end; |
| 190 | { | 190 | { |
| 191 | casify_region (CASE_CAPITALIZE, b, e); | 191 | casify_region (CASE_CAPITALIZE, beg, end); |
| 192 | return Qnil; | 192 | return Qnil; |
| 193 | } | 193 | } |
| 194 | 194 | ||
| @@ -200,10 +200,10 @@ DEFUN ("upcase-initials-region", Fupcase_initials_region, | |||
| 200 | Subsequent letters of each word are not changed.\n\ | 200 | Subsequent letters of each word are not changed.\n\ |
| 201 | In programs, give two arguments, the starting and ending\n\ | 201 | In programs, give two arguments, the starting and ending\n\ |
| 202 | character positions to operate on.") | 202 | character positions to operate on.") |
| 203 | (b, e) | 203 | (beg, end) |
| 204 | Lisp_Object b, e; | 204 | Lisp_Object beg, end; |
| 205 | { | 205 | { |
| 206 | casify_region (CASE_CAPITALIZE_UP, b, e); | 206 | casify_region (CASE_CAPITALIZE_UP, beg, end); |
| 207 | return Qnil; | 207 | return Qnil; |
| 208 | } | 208 | } |
| 209 | 209 | ||