]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fset_buffer_multibyte, Fset_buffer_multibyte): Fix
authorDave Love <fx@gnu.org>
Thu, 5 Sep 2002 16:59:44 +0000 (16:59 +0000)
committerDave Love <fx@gnu.org>
Thu, 5 Sep 2002 16:59:44 +0000 (16:59 +0000)
type error.

src/buffer.c

index b00bb5b06c20e4d305322f5e9a1942d96d11e063..6b9c2ca046c06b0ffaa625273cd675daa363597c 100644 (file)
@@ -2198,7 +2198,7 @@ char-to-byte.  */)
              
          if (ASCII_BYTE_P (*p))
            p++, pos++;
-         else if (method == Qas
+         else if (EQ (method, Qas)
                   && (bytes = MULTIBYTE_LENGTH (p, pend)) > 0)
            p += bytes, pos += bytes;
          else
@@ -2206,7 +2206,7 @@ char-to-byte.  */)
              unsigned char tmp[MAX_MULTIBYTE_LENGTH];
              int c;
 
-             if (method == Qmake)
+             if (EQ (method, Qmake))
                c = unibyte_char_to_multibyte (*p);
              else
                c = BYTE8_TO_CHAR (*p);