]> git.eshelyaron.com Git - emacs.git/commit
New transient mode 'repeat-mode' to allow shorter key sequences (bug#46515)
authorJuri Linkov <juri@linkov.net>
Wed, 17 Feb 2021 18:04:42 +0000 (20:04 +0200)
committerJuri Linkov <juri@linkov.net>
Wed, 17 Feb 2021 18:04:42 +0000 (20:04 +0200)
commit12409c9064c386a496dcbdca76b790108f6c1cad
tree6b10d190e518cb2e69a3dfc729dff7767d5ab3e3
parent734396aa04cd57173f1a604397244ed84f3f56a8
New transient mode 'repeat-mode' to allow shorter key sequences (bug#46515)

* doc/emacs/basic.texi (Repeating): Document repeat-mode.

* lisp/repeat.el (repeat-exit-key): New defcustom.
(repeat-mode): New global minor mode.
(repeat-post-hook): New function.

* lisp/bindings.el (undo-repeat-map): New variable.
(undo): Put 'repeat-map' property with
'undo-repeat-map'.
(next-error-repeat-map): New variable.
(next-error, previous-error): Put 'repeat-map' property with
'next-error-repeat-map'.

* lisp/window.el (other-window-repeat-map): New variable.
(other-window): Put 'repeat-map' property with
'other-window-repeat-map'.
(resize-window-repeat-map): New variable.
(enlarge-window, enlarge-window-horizontally)
(shrink-window-horizontally, shrink-window): Put 'repeat-map'
property with 'resize-window-repeat-map'.
doc/emacs/basic.texi
etc/NEWS
lisp/bindings.el
lisp/repeat.el
lisp/window.el