aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2024-11-28 17:53:46 -0500
committerBardofSprites <[email protected]>2024-11-28 17:53:46 -0500
commit7c8c39ab907d3a5de6aa891b68ba0d8175011870 (patch)
treedd3d52784aebbbdaada7111809c4bee381639ce0
parent92d8b14b96f39a765eed5643f2656f4e8b41dd8d (diff)
open calendar function
-rw-r--r--bard-elisp/bard-calendar.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/bard-elisp/bard-calendar.el b/bard-elisp/bard-calendar.el
index 9e5be52..1e3cdb2 100644
--- a/bard-elisp/bard-calendar.el
+++ b/bard-elisp/bard-calendar.el
@@ -18,7 +18,11 @@
(substring-no-properties org-mode-line-string)
"No task clocked in"))
-;; -----
+(defun bard/open-calendar ()
+ "Opens calendar as only window"
+ (interactive)
+ (calendar)
+ (delete-other-windows))
;; Org Agenda