* keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume
authorJim Blandy <jimb@redhat.com>
Sat, 31 Oct 1992 05:24:47 +0000 (05:24 +0000)
committerJim Blandy <jimb@redhat.com>
Sat, 31 Oct 1992 05:24:47 +0000 (05:24 +0000)
commitd09b20248ddfb6ffc73afb1ab51485f3d12d2c68
tree619edda1474c4bf2c030254a84e1080bee549caf
parent5bb46ecf6c71724e39f2cd482d9018a354966533
* keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume
that Flength returns an integer.

* keymap.c: Deal with autoloaded keymaps properly.
        (get_keymap_1): Renamed to inner_get_keymap; made
static.  New argument AUTOLOAD says to pursue autoloads if
non-zero.
(Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1
not to perform autoloads.
(Fdefine_key): Ask get_keymap_1 to perform autoloads.  Since
autoloading may GC, remember that we have to GCPRO our local
variables now.
(Fminor_mode_key_binding): Call get_keymap instead of calling
get_keymap_1 with equivalent arguments.
src/keymap.c