From 8a49e19622cd3ac97cc3f3d30ca1511513276c75 Mon Sep 17 00:00:00 2001 From: James Thomas Date: Mon, 16 Jun 2025 10:32:29 +0530 Subject: [PATCH] Add repeat map for tab-bar-history (bug#78804) Add repeat map similar to that of winner-mode (to which tab-bar-history is an alternative). * lisp/tab-bar.el (tab-bar-history-repeat-map): Make the change. (cherry picked from commit a4ca0cd7f03c1cf0e7b1f3e0d49c4cf42fcacc90) --- lisp/tab-bar.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index 3050da03479..d61501d63d5 100644 --- a/lisp/tab-bar.el +++ b/lisp/tab-bar.el @@ -2512,6 +2512,13 @@ This navigates forward in the history of window configurations." "C-c " #'tab-bar-history-back "C-c " #'tab-bar-history-forward) +(defvar-keymap tab-bar-history-repeat-map + :doc "Keymap to repeat tab-bar-history key sequences. +Used in `repeat-mode'." + :repeat t + "" #'tab-bar-history-back + "" #'tab-bar-history-forward) + (define-minor-mode tab-bar-history-mode "Toggle tab history mode for the tab bar. Tab history mode remembers window configurations used in every tab, -- 2.39.5