Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow define-keymap to use emacs-style key specs
- Base define-keymap on bind, so emacs-style specs can be used. - Add a default event handler t to sub-keymaps created by bind. That aborts the input of a key sequence when an unknown key is hit instead of blocking and waiting for a defined key. The default handler is checked in handle-event and sets the keymap pointer back to nil, i.e. the start of the sequence. - Test changes in examples t28 a-c.
- Loading branch information
Showing
3 changed files
with
95 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters