use-local-map

use-local-map is a built-in function in `C source code'.

(use-local-map KEYMAP)

Select KEYMAP as the local keymap.
If KEYMAP is nil, that means no local keymap.