aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1997-02-22 19:26:15 +0000
committerKarl Heuer1997-02-22 19:26:15 +0000
commitfc44dfab721d5da386e24b02e794da31754fd568 (patch)
tree50fa3d810eea5d5cabe1e9a1c38be38a390cbcd7
parentf8bce5df30129d20a63d7a6269ac8b02a8133f8d (diff)
downloademacs-fc44dfab721d5da386e24b02e794da31754fd568.tar.gz
emacs-fc44dfab721d5da386e24b02e794da31754fd568.zip
Change FETCH_CHAR references to FETCH_BYTE.
-rw-r--r--src/abbrev.c4
-rw-r--r--src/casefiddle.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/abbrev.c b/src/abbrev.c
index 098d2863ef8..8c28e1c3ff0 100644
--- a/src/abbrev.c
+++ b/src/abbrev.c
@@ -243,7 +243,7 @@ Returns the abbrev symbol, if expansion took place.")
243 Vabbrev_start_location = Qnil; 243 Vabbrev_start_location = Qnil;
244 if (wordstart < BEGV || wordstart > ZV) 244 if (wordstart < BEGV || wordstart > ZV)
245 wordstart = 0; 245 wordstart = 0;
246 if (wordstart && wordstart != ZV && FETCH_CHAR (wordstart) == '-') 246 if (wordstart && wordstart != ZV && FETCH_BYTE (wordstart) == '-')
247 del_range (wordstart, wordstart + 1); 247 del_range (wordstart, wordstart + 1);
248 } 248 }
249 if (!wordstart) 249 if (!wordstart)
@@ -266,7 +266,7 @@ Returns the abbrev symbol, if expansion took place.")
266 266
267 for (idx = wordstart; idx < wordend; idx++) 267 for (idx = wordstart; idx < wordend; idx++)
268 { 268 {
269 register int c = FETCH_CHAR (idx); 269 register int c = FETCH_BYTE (idx);
270 if (UPPERCASEP (c)) 270 if (UPPERCASEP (c))
271 c = DOWNCASE (c), uccount++; 271 c = DOWNCASE (c), uccount++;
272 else if (! NOCASEP (c)) 272 else if (! NOCASEP (c))
diff --git a/src/casefiddle.c b/src/casefiddle.c
index f4400814778..b0cc0b94991 100644
--- a/src/casefiddle.c
+++ b/src/casefiddle.c
@@ -149,13 +149,13 @@ casify_region (flag, b, e)
149 149
150 for (i = start; i < end; i++) 150 for (i = start; i < end; i++)
151 { 151 {
152 c = FETCH_CHAR (i); 152 c = FETCH_BYTE (i);
153 if (inword && flag != CASE_CAPITALIZE_UP) 153 if (inword && flag != CASE_CAPITALIZE_UP)
154 c = DOWNCASE (c); 154 c = DOWNCASE (c);
155 else if (!UPPERCASEP (c) 155 else if (!UPPERCASEP (c)
156 && (!inword || flag != CASE_CAPITALIZE_UP)) 156 && (!inword || flag != CASE_CAPITALIZE_UP))
157 c = UPCASE1 (c); 157 c = UPCASE1 (c);
158 FETCH_CHAR (i) = c; 158 FETCH_BYTE (i) = c;
159 if ((int) flag >= (int) CASE_CAPITALIZE) 159 if ((int) flag >= (int) CASE_CAPITALIZE)
160 inword = SYNTAX (c) == Sword; 160 inword = SYNTAX (c) == Sword;
161 } 161 }