diff options
| author | Juri Linkov <juri@linkov.net> | 2022-11-17 09:25:42 +0200 |
|---|---|---|
| committer | Juri Linkov <juri@linkov.net> | 2022-11-17 09:28:32 +0200 |
| commit | ddbc33343cca8c66d841cc16eac77ea626e50e23 (patch) | |
| tree | 41ef04661640870652892fbf987e058b8a455437 /etc/NEWS | |
| parent | d6c1c76ba4d1dad4c1a66cfabb54399bf0d4b304 (diff) | |
| download | emacs-ddbc33343cca8c66d841cc16eac77ea626e50e23.tar.gz | |
* lisp/keymap.el (defvar-keymap): Add support for repeat-mode.
Put symbol properties 'repeat-map' on commands from the keymap
when a ':repeat' keyword is non-nil. Also include/exclude commands
according to ':repeat (:enter (commands ...) :exit (commands ...))'.
https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg00968.html
Diffstat (limited to 'etc/NEWS')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4075,6 +4075,10 @@ This function allows defining a number of keystrokes with one form. ** New macro 'defvar-keymap'. This macro allows defining keymap variables more conveniently. +** 'repeat-map' can be defined in the macro 'defvar-keymap'. +This is possible either by using ':repeat t' or more advanced +':repeat (:enter (commands ...) :exit (commands ...))'. + --- ** 'kbd' can now be used in built-in, preloaded libraries. It no longer depends on edmacro.el and cl-lib.el. |
