history_keymap can be const.