(Fdefine_key): Allow symbol as KEY argument for
authorKim F. Storm <storm@cua.dk>
Wed, 6 Feb 2002 22:57:42 +0000 (22:57 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 6 Feb 2002 22:57:42 +0000 (22:57 +0000)
commit0c412762ee4eb9288dd33602d73f11f565f779e8
tree7318341509c171fe1075cc49b16123bee52d22fc
parentc897578d7d532c0d9fa5b5cc35e05fbd5dec4100
(Fdefine_key): Allow symbol as KEY argument for
defining command remapping.  Doc updated.
(Flookup_key): Remap command through keymap if KEY is a symbol.
(is_command_symbol): New function.
(Fkey_binding): Use it.  New optional argument NO-REMAP.  Doc
updated.  Callers changed.  Perform command remapping via
recursive call unless that arg is non-nil.
(where_is_internal): New argument no_remap.  Callers changed.
Call recursively to find original key bindings for a remapped
comand unless that arg is non-nil.
(Fwhere_is_internal): New optional argument NO-REMAP.  Doc
updated.  Callers changed.  Pass arg to where_is_internal.
src/keymap.c