summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacsconf.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacsconf.el b/emacsconf.el
index 6b6b4b1..ada1515 100644
--- a/emacsconf.el
+++ b/emacsconf.el
@@ -1136,5 +1136,16 @@ Filter by TRACK if given. Use INFO as the list of talks."
(erc-cmd-BROADCAST message))
(emacsconf-stream-broadcast message))
+(defun emacsconf-agenda ()
+ (interactive)
+ (let ((org-agenda-files (list emacsconf-org-file)))
+ (org-agenda-list nil emacsconf-date 2)))
+
+(defun emacsconf-track-agenda (track)
+ (interactive (list (emacsconf-complete-track)))
+ (let ((org-agenda-files (list emacsconf-org-file))
+ (org-agenda-category-filter-preset (list (concat "+" (plist-get track :id)))))
+ (org-agenda-list nil emacsconf-date 2)))
+
(provide 'emacsconf)
;;; emacsconf.el ends here