Function: keymap--get-keyelt

keymap--get-keyelt is a function defined in keymap.c.

Signature

(keymap--get-keyelt OBJECT AUTOLOAD)

Documentation

Given OBJECT which was found in a slot in a keymap, trace indirect definitions to get the actual definition of that slot. An indirect definition is a list of the form
(KEYMAP . INDEX), where KEYMAP is a keymap or a symbol defined as one
and INDEX is the object to look up in KEYMAP to yield the definition.

Also if OBJECT has a menu string as the first element, remove that. Also remove a menu help string as second element.

If AUTOLOAD, load autoloadable keymaps that are referred to with indirection.

Source Code

// Defined in /usr/src/emacs/src/keymap.c
{
  return get_keyelt (object, NILP (autoload) ? false : true);
}