Revert "current_buffer_input_mode_change_hook: removed"