summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-03 15:12:24 -0400
committerSacha Chua <sacha@sachachua.com>2022-11-03 15:12:24 -0400
commit6c3a3fcdb3bb0ab0f875610ba6563325f4b5bf63 (patch)
tree8e5dab0332a040cfb4f743fb2275f3c9ae877588
parentd1844954496b522f6a32643b6aa148cd3e5ba51a (diff)
downloademacsconf-el-6c3a3fcdb3bb0ab0f875610ba6563325f4b5bf63.tar.xz
emacsconf-el-6c3a3fcdb3bb0ab0f875610ba6563325f4b5bf63.zip
Handle tracks as strings
Diffstat (limited to '')
-rw-r--r--emacsconf.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacsconf.el b/emacsconf.el
index ada1515..219c9ed 100644
--- a/emacsconf.el
+++ b/emacsconf.el
@@ -1143,6 +1143,7 @@ Filter by TRACK if given. Use INFO as the list of talks."
(defun emacsconf-track-agenda (track)
(interactive (list (emacsconf-complete-track)))
+ (when (stringp track) (setq track (emacsconf-get-track 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)))