diff options
| author | Stefan Monnier | 2022-10-02 13:52:57 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2022-10-02 14:07:24 -0400 |
| commit | 570a11052be6178954956a1c59c8ebcbdb77d38e (patch) | |
| tree | 9f3bbe2e6b6ad0ae246722db58dc88d2e84cf3af /src/coding.c | |
| parent | 4839b42a16635a3090f4fb374fb1fbe532ef0451 (diff) | |
| download | emacs-570a11052be6178954956a1c59c8ebcbdb77d38e.tar.gz emacs-570a11052be6178954956a1c59c8ebcbdb77d38e.zip | |
keymap.el: Ease up support for non-`kbd` formats.
While we want to standardize on the `kbd` syntax for user-facing code,
the internal vector representation of key sequences is not going away,
so let's not impose silly `key-description + key-parse` roundtrips.
Also, provide some support for packages stuck with user configs defined
to hold old-style key formats.
* lisp/keymap.el (keymap-set): Allow vectors as `key`.
(key-parse-old-format): New function, which stands out better than
`key-description` when searching for uses of the old syntax.
* list/outline.el (outline-minor-mode): Use it.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions