From 0e5c44584080aafc0907c3335fcd654270936073 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 30 Mar 2022 16:53:26 +0200 Subject: [PATCH] [tab-bar-helpers] Add helper for creating a new tab with a given name --- packages/mmk2410-tab-bar-helpers.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/mmk2410-tab-bar-helpers.el b/packages/mmk2410-tab-bar-helpers.el index 1737305..8b1a53b 100644 --- a/packages/mmk2410-tab-bar-helpers.el +++ b/packages/mmk2410-tab-bar-helpers.el @@ -21,6 +21,11 @@ (interactive) (mmk2410/tab-bar-switch-or-create "RSS" #'elfeed)) +(defun mmk2410/tab-bar-new-named-tab (name) + (interactive "sTab Name: ") + (tab-bar-new-tab) + (tab-bar-rename-tab name)) + (defun mmk2410/tab-bar-run-mail () (interactive) (mmk2410/tab-bar-switch-or-create