Function: current-local-map

current-local-map is a function defined in keymap.c.

Signature

(current-local-map)

Documentation

Return current buffer's local keymap, or nil if it has none.

Normally the local keymap is set by the major mode with use-local-map.

Probably introduced at or before Emacs version 18.

Source Code

// Defined in /usr/src/emacs/src/keymap.c
{
  return BVAR (current_buffer, keymap);
}