]> git.eshelyaron.com Git - emacs.git/commitdiff
Change FETCH_CHAR references to FETCH_BYTE.
authorKarl Heuer <kwzh@gnu.org>
Sat, 22 Feb 1997 19:26:15 +0000 (19:26 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sat, 22 Feb 1997 19:26:15 +0000 (19:26 +0000)
src/abbrev.c
src/casefiddle.c

index 098d2863ef8e1ac1805343e132ec174e5bdad5a6..8c28e1c3ff01a027f5cb2af6fb004cddb647fb61 100644 (file)
@@ -243,7 +243,7 @@ Returns the abbrev symbol, if expansion took place.")
       Vabbrev_start_location = Qnil;
       if (wordstart < BEGV || wordstart > ZV)
        wordstart = 0;
-      if (wordstart && wordstart != ZV && FETCH_CHAR (wordstart) == '-')
+      if (wordstart && wordstart != ZV && FETCH_BYTE (wordstart) == '-')
        del_range (wordstart, wordstart + 1);
     }
   if (!wordstart)
@@ -266,7 +266,7 @@ Returns the abbrev symbol, if expansion took place.")
 
   for (idx = wordstart; idx < wordend; idx++)
     {
-      register int c = FETCH_CHAR (idx);
+      register int c = FETCH_BYTE (idx);
       if (UPPERCASEP (c))
        c = DOWNCASE (c), uccount++;
       else if (! NOCASEP (c))
index f44008147788ac7e16000ea094ec12e95d918b2c..b0cc0b94991e1a3212ea9f757e2a0c0532ba3263 100644 (file)
@@ -149,13 +149,13 @@ casify_region (flag, b, e)
 
   for (i = start; i < end; i++)
     {
-      c = FETCH_CHAR (i);
+      c = FETCH_BYTE (i);
       if (inword && flag != CASE_CAPITALIZE_UP)
        c = DOWNCASE (c);
       else if (!UPPERCASEP (c)
               && (!inword || flag != CASE_CAPITALIZE_UP))
        c = UPCASE1 (c);
-      FETCH_CHAR (i) = c;
+      FETCH_BYTE (i) = c;
       if ((int) flag >= (int) CASE_CAPITALIZE)
        inword = SYNTAX (c) == Sword;
     }