Function: keymapp

keymapp is a function defined in keymap.c.

Signature

(keymapp OBJECT)

Documentation

Return t if OBJECT is a keymap.

A keymap is a list (keymap . ALIST), or a symbol whose function definition is itself a keymap. ALIST elements look like (CHAR . DEFN) or (SYMBOL . DEFN); a vector of densely packed bindings for small character codes is also allowed as an element.

Other relevant functions are documented in the keymaps group.

View in manual

Shortdoc

;; keymaps
(keymapp (define-keymap))
    => t

Source Code

// Defined in /usr/src/emacs/src/keymap.c
{
  return (KEYMAPP (object) ? Qt : Qnil);
}