Variable: overriding-local-map

overriding-local-map is a variable defined in keyboard.c.

Value

nil

Documentation

Keymap that replaces (overrides) local keymaps.

If this variable is non-nil, Emacs looks up key bindings in this keymap INSTEAD OF keymap text properties, local-map and keymap overlay properties, minor mode maps, and the buffer's local map.

Hence, the only active keymaps would be overriding-terminal-local-map, this keymap, and global-keymap, in order of precedence.

View in manual

Probably introduced at or before Emacs version 19.23.

Source Code

// Defined in /usr/src/emacs/src/keyboard.c
  DEFVAR_LISP ("overriding-local-map", Voverriding_local_map,
	       doc: /* Keymap that replaces (overrides) local keymaps.
If this variable is non-nil, Emacs looks up key bindings in this
keymap INSTEAD OF `keymap' text properties, `local-map' and `keymap'
overlay properties, minor mode maps, and the buffer's local map.

Hence, the only active keymaps would be `overriding-terminal-local-map',
this keymap, and `global-keymap', in order of precedence.  */);