summaryrefslogtreecommitdiffstats
path: root/emacsconf-schedule.el
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2025-12-03 14:39:44 -0500
committerSacha Chua <sacha@sachachua.com>2025-12-03 14:39:44 -0500
commitcdbbdf6d2f46d5faa333da097b24015877eeb98a (patch)
tree77051642b7c472387adfde325ed97e21c1c79b84 /emacsconf-schedule.el
parent672f906b0dbc17f3b7b31f57a7ea6ec25e55fc1e (diff)
downloademacsconf-el-cdbbdf6d2f46d5faa333da097b24015877eeb98a.tar.xz
emacsconf-el-cdbbdf6d2f46d5faa333da097b24015877eeb98a.zip
fix args
Diffstat (limited to 'emacsconf-schedule.el')
-rw-r--r--emacsconf-schedule.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emacsconf-schedule.el b/emacsconf-schedule.el
index 2ee74b8..bcfc561 100644
--- a/emacsconf-schedule.el
+++ b/emacsconf-schedule.el
@@ -274,8 +274,9 @@ Pairs with `emacsconf-schedule-dump-sexp'."
(list "Status" "Slug" "Schedule" "Time" "Buffer" "Title" "Name" "Q&A" "Availability"))
(mapcar #'emacsconf-schedule-format-summary-row (or info (emacsconf-get-talk-info)))))
-(defun emacsconf-schedule-update-from-info (info)
- (interactive (list (or emacsconf-schedule-draft (emacsconf-get-talk-info))))
+(defun emacsconf-schedule-update-from-info (&optional info)
+ (interactive)
+ (setq info (or info emacsconf-schedule-draft (emacsconf-get-talk-info)))
(save-window-excursion
(save-excursion
(mapc (lambda (talk)