summaryrefslogtreecommitdiff
path: root/etc/NEWS
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2022-11-17 09:25:42 +0200
committerJuri Linkov <juri@linkov.net>2022-11-17 09:28:32 +0200
commitddbc33343cca8c66d841cc16eac77ea626e50e23 (patch)
tree41ef04661640870652892fbf987e058b8a455437 /etc/NEWS
parentd6c1c76ba4d1dad4c1a66cfabb54399bf0d4b304 (diff)
downloademacs-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index bb2bd52..47fc9f1 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.