Previous: , Up: Keymaps   [Contents][Index]


26.13 Other Keymap Functions

Function: set-keymap-prompt keymap new-prompt

This function sets the “prompt” of keymap to string new-prompt, or nil if no prompt is desired. The prompt is shown in the echo-area when reading a key-sequence to be looked-up in this keymap.

Function: keymap-prompt keymap &optional use-inherited

This function returns the “prompt” of the given keymap. If use-inherited is non-nil, any parent keymaps will also be searched for a prompt.