]> git.eshelyaron.com Git - emacs.git/commitdiff
(push_key_description): If enable-multibyte-characters
authorKenichi Handa <handa@m17n.org>
Thu, 25 Feb 1999 08:43:17 +0000 (08:43 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 25 Feb 1999 08:43:17 +0000 (08:43 +0000)
is nil and C is single byte, push C as is.

src/keymap.c

index 865e8dd32021108dd7da4ca9a8e30a67d26a5003..612e34773ef73755acafd8de91730938dc8c5df7 100644 (file)
@@ -1850,7 +1850,9 @@ push_key_description (c, p)
       *p++ = 'P';
       *p++ = 'C';
     }
-  else if (c < 128)
+  else if (c < 128
+          || (NILP (current_buffer->enable_multibyte_characters)
+              && SINGLE_BYTE_CHAR_P (c)))
     *p++ = c;
   else
     {