summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmacsConf <emacsconf-org@gnu.org>2022-11-04 16:57:11 -0700
committerEmacsConf <emacsconf-org@gnu.org>2022-11-04 16:57:11 -0700
commitd33f34beada6ba579059dfb5c3b442d4af666c3d (patch)
tree8c8f757b413cda673bb56d6cdb118520c32643e6
parentdfbbf5d6078020b511f9c0104d2f056fa5769f38 (diff)
downloademacsconf-el-d33f34beada6ba579059dfb5c3b442d4af666c3d.tar.xz
emacsconf-el-d33f34beada6ba579059dfb5c3b442d4af666c3d.zip
Update talk status
-rw-r--r--emacsconf.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacsconf.el b/emacsconf.el
index 4b6b444..1a8e178 100644
--- a/emacsconf.el
+++ b/emacsconf.el
@@ -1152,5 +1152,11 @@ They will be called with TALK.")
(org-agenda-category-filter-preset (list (concat "+" (plist-get track :id)))))
(org-agenda-list nil emacsconf-date 2)))
+(defun emacsconf-update-talk-status (slug from-states to-state)
+ (interactive (list (emacsconf-complete-talk) (read-string "From: ") (read-string "To: ")))
+ (emacsconf-with-talk-heading slug
+ (when (string-match from-states (org-entry-get (point) "TODO"))
+ (org-todo to-state))))
+
(provide 'emacsconf)
;;; emacsconf.el ends here