]> git.eshelyaron.com Git - emacs.git/commit
* lisp/repeat.el: Add option to indicate repeat-mode in mode-line (bug#47566)
authorJuri Linkov <juri@linkov.net>
Wed, 14 Apr 2021 18:10:00 +0000 (21:10 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 14 Apr 2021 18:10:00 +0000 (21:10 +0300)
commit8205108217e2ba77b9d0d6176587033d38bbb20b
tree86344bcb0442619fa40f5cc6b8331ef968f4e0dc
parent8ec1391acedfb67408361e3af3d4c3cf9e1c4ce4
* lisp/repeat.el: Add option to indicate repeat-mode in mode-line (bug#47566)

* lisp/repeat.el (repeat-echo-function): Rename from repeat-mode-echo.
Add choice repeat-echo-mode-line.
(repeat-in-progress): New variable.
(repeat-post-hook): Call repeat-echo-function with nil arg
at the end of repeating sequence.
(repeat-echo-message-string): New function with body from repeat-post-hook.
(repeat-echo-message): Rename from repeat-mode-message.
(repeat-echo-mode-line-string): New variable.
(repeat-echo-mode-line): New function.
lisp/repeat.el