[tab-bar-helpers] Add helper for creating a new tab with a given name
This commit is contained in:
parent
2221d86807
commit
0e5c445840
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@
|
||||||
(interactive)
|
(interactive)
|
||||||
(mmk2410/tab-bar-switch-or-create "RSS" #'elfeed))
|
(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 ()
|
(defun mmk2410/tab-bar-run-mail ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(mmk2410/tab-bar-switch-or-create
|
(mmk2410/tab-bar-switch-or-create
|
||||||
|
|
Loading…
Reference in a new issue