Mercurial > emacs
comparison src/keymap.c @ 38934:4abf0b5b1fe3
(access_keymap): Return the cdr of the binding of
a generic character instead of its definition (KEY . BINDING).
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 24 Aug 2001 08:42:35 +0000 |
parents | f90da7c4551c |
children | 5f60884970a8 |
comparison
equal
deleted
inserted
replaced
38933:9d151c5325f1 | 38934:4abf0b5b1fe3 |
---|---|
548 == CHAR_CHARSET (XINT (idx)))) | 548 == CHAR_CHARSET (XINT (idx)))) |
549 { | 549 { |
550 /* KEY is the generic character of the charset of IDX. | 550 /* KEY is the generic character of the charset of IDX. |
551 Use KEY's binding if there isn't a binding for IDX | 551 Use KEY's binding if there isn't a binding for IDX |
552 itself. */ | 552 itself. */ |
553 generic_binding = binding; | 553 generic_binding = XCDR (binding); |
554 } | 554 } |
555 else if (t_ok && EQ (XCAR (binding), Qt)) | 555 else if (t_ok && EQ (XCAR (binding), Qt)) |
556 t_binding = XCDR (binding); | 556 t_binding = XCDR (binding); |
557 } | 557 } |
558 else if (VECTORP (binding)) | 558 else if (VECTORP (binding)) |