(access_keymap): Return the cdr of the binding of
authorGerd Moellmann <gerd@gnu.org>
Fri, 24 Aug 2001 08:42:35 +0000 (08:42 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 24 Aug 2001 08:42:35 +0000 (08:42 +0000)
a generic character instead of its definition (KEY . BINDING).

src/keymap.c

index e503172..82ee642 100644 (file)
@@ -550,7 +550,7 @@ access_keymap (map, idx, t_ok, noinherit, autoload)
                /* KEY is the generic character of the charset of IDX.
                   Use KEY's binding if there isn't a binding for IDX
                   itself.  */
-               generic_binding = binding;
+               generic_binding = XCDR (binding);
              }
            else if (t_ok && EQ (XCAR (binding), Qt))
              t_binding = XCDR (binding);