aboutsummaryrefslogtreecommitdiffstats
path: root/src/casefiddle.c
diff options
context:
space:
mode:
authorKarl Heuer1996-09-01 19:15:05 +0000
committerKarl Heuer1996-09-01 19:15:05 +0000
commit6ec8bbd20d14dadb850f993d828b42bb97deba32 (patch)
tree19f01d5251cd6d478933a5f562ba985bf5c3b117 /src/casefiddle.c
parent7003b258300d0e575da8009e6f017b6c19aabacb (diff)
downloademacs-6ec8bbd20d14dadb850f993d828b42bb97deba32.tar.gz
emacs-6ec8bbd20d14dadb850f993d828b42bb97deba32.zip
Change all references from point to PT.
Diffstat (limited to 'src/casefiddle.c')
-rw-r--r--src/casefiddle.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/casefiddle.c b/src/casefiddle.c
index 1e3856100a0..f4400814778 100644
--- a/src/casefiddle.c
+++ b/src/casefiddle.c
@@ -227,11 +227,11 @@ operate_on_word (arg, newpoint)
227 227
228 CHECK_NUMBER (arg, 0); 228 CHECK_NUMBER (arg, 0);
229 iarg = XINT (arg); 229 iarg = XINT (arg);
230 farend = scan_words (point, iarg); 230 farend = scan_words (PT, iarg);
231 if (!farend) 231 if (!farend)
232 farend = iarg > 0 ? ZV : BEGV; 232 farend = iarg > 0 ? ZV : BEGV;
233 233
234 *newpoint = point > farend ? point : farend; 234 *newpoint = PT > farend ? PT : farend;
235 XSETFASTINT (val, farend); 235 XSETFASTINT (val, farend);
236 236
237 return val; 237 return val;
@@ -246,7 +246,7 @@ See also `capitalize-word'.")
246{ 246{
247 Lisp_Object beg, end; 247 Lisp_Object beg, end;
248 int newpoint; 248 int newpoint;
249 XSETFASTINT (beg, point); 249 XSETFASTINT (beg, PT);
250 end = operate_on_word (arg, &newpoint); 250 end = operate_on_word (arg, &newpoint);
251 casify_region (CASE_UP, beg, end); 251 casify_region (CASE_UP, beg, end);
252 SET_PT (newpoint); 252 SET_PT (newpoint);
@@ -261,7 +261,7 @@ With negative argument, convert previous words but do not move.")
261{ 261{
262 Lisp_Object beg, end; 262 Lisp_Object beg, end;
263 int newpoint; 263 int newpoint;
264 XSETFASTINT (beg, point); 264 XSETFASTINT (beg, PT);
265 end = operate_on_word (arg, &newpoint); 265 end = operate_on_word (arg, &newpoint);
266 casify_region (CASE_DOWN, beg, end); 266 casify_region (CASE_DOWN, beg, end);
267 SET_PT (newpoint); 267 SET_PT (newpoint);
@@ -278,7 +278,7 @@ With negative argument, capitalize previous words but do not move.")
278{ 278{
279 Lisp_Object beg, end; 279 Lisp_Object beg, end;
280 int newpoint; 280 int newpoint;
281 XSETFASTINT (beg, point); 281 XSETFASTINT (beg, PT);
282 end = operate_on_word (arg, &newpoint); 282 end = operate_on_word (arg, &newpoint);
283 casify_region (CASE_CAPITALIZE, beg, end); 283 casify_region (CASE_CAPITALIZE, beg, end);
284 SET_PT (newpoint); 284 SET_PT (newpoint);