/* X Communication module for terminals which understand the X protocol.
- Copyright (C) 1989, 93, 94, 95, 96, 1997, 1998, 1999, 2000, 2001
+ Copyright (C) 1989, 93, 94, 95, 96, 1997, 1998, 1999, 2000, 01, 02
Free Software Foundation, Inc.
This file is part of GNU Emacs.
temp_buffer[temp_index++] = keysym;
/* First deal with keysyms which have
defined translations to characters. */
- if (keysym > 0 && keysym < 128)
+ if (keysym >= 32 && keysym < 128)
/* Fixme: Is this always right? It avoids
explicitly decoding each ASCII character. */
{
else if (! EQ ((c = Fgethash (make_number (keysym),
Vx_keysym_table,
Qnil)),
- Qnil))
+ Qnil))
{
bufp->kind = (ASCII_CHAR_P (c)
? ascii_keystroke