[Tab Bar Helpers] Also open journal in agenda tab, spliting windows

This commit is contained in:
Marcel Kapfer 2022-06-23 16:50:28 +02:00
parent e639f2e03f
commit 66185f96b0
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -48,7 +48,11 @@
(mmk2410/tab-bar-switch-or-create
"Agenda"
#'(lambda ()
(org-agenda nil "a"))))
(org-agenda nil "c")
(sit-for 1)
(split-window-horizontally)
(other-window 1)
(org-journal-open-current-journal-file))))
(defun mmk2410/tab-bar-run-journal ()
(interactive)