From a4ca0cd7f03c1cf0e7b1f3e0d49c4cf42fcacc90 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. --- lisp/tab-bar.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index bd9af41de00..306fed34e40 100644 --- a/lisp/tab-bar.el +++ b/lisp/tab-bar.el @@ -2528,6 +2528,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,