]> git.eshelyaron.com Git - emacs.git/commit
* lisp/repeat.el: Fix long-standing problem when a random key activates map
authorJuri Linkov <juri@linkov.net>
Tue, 30 Nov 2021 19:05:05 +0000 (21:05 +0200)
committerJuri Linkov <juri@linkov.net>
Tue, 30 Nov 2021 19:07:18 +0000 (21:07 +0200)
commitea5a90b4f47f008a3e2dd58cda5a6b771fb80403
tree54f96b17219b166eeba477e78e56abf7e8df83fe
parentef4954b69c17831f4c8360c436352170305666ea
* lisp/repeat.el: Fix long-standing problem when a random key activates map

* lisp/repeat.el (repeat-check-key): New defcustom (bug#51390).
(repeat--command-property): New internal function.
(repeat-check-key): New function.
(repeat-post-hook): Use repeat--command-property and repeat-check-key.

* test/lisp/repeat-tests.el (repeat-tests-check-key): New test.
lisp/repeat.el
test/lisp/repeat-tests.el