From: Dave Love Date: Thu, 5 Sep 2002 16:59:44 +0000 (+0000) Subject: (Fset_buffer_multibyte, Fset_buffer_multibyte): Fix X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~372 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cbc3a17a173a6f858619e9791a1787dce965410e;p=emacs.git (Fset_buffer_multibyte, Fset_buffer_multibyte): Fix type error. --- diff --git a/src/buffer.c b/src/buffer.c index b00bb5b06c2..6b9c2ca046c 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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);