summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-01 14:19:13 -0400
committerSacha Chua <sacha@sachachua.com>2022-11-01 14:19:13 -0400
commitac5d8203ff8e69b9cd9204e4ff1af3940443096b (patch)
treeb7fd762845bddf670c3247c6afdaea33140ec9d7
parentaa50cf0a9f152a25e7ccb9051ae9f9c3f0b1f622 (diff)
downloademacsconf-el-ac5d8203ff8e69b9cd9204e4ff1af3940443096b.tar.xz
emacsconf-el-ac5d8203ff8e69b9cd9204e4ff1af3940443096b.zip
emacsconf-publish-schedule
-rw-r--r--emacsconf-publish.el17
1 files changed, 10 insertions, 7 deletions
diff --git a/emacsconf-publish.el b/emacsconf-publish.el
index 7c72a51..23fbb0b 100644
--- a/emacsconf-publish.el
+++ b/emacsconf-publish.el
@@ -649,11 +649,6 @@ Back to the [[talks]] \n"
"Sunday closing remarks"))
))))
-(defun emacsconf-publish-schedule ()
- (interactive)
- (emacsconf-publish-with-wiki-change
- (emacsconf-generate-main-schedule-with-tracks)))
-
(defun emacsconf-publish-format-interleaved-schedule (&optional info)
"Return a list with the schedule for INFO.
Entries are sorted chronologically, with different tracks interleaved."
@@ -691,7 +686,7 @@ Entries are sorted chronologically, with different tracks interleaved."
by-day
"\n\n")))
-(defun emacsconf-generate-main-schedule (&optional info)
+(defun emacsconf-publish-schedule (&optional info)
(interactive)
(emacsconf-publish-schedule-svg-snippets)
(with-temp-file (expand-file-name "schedule-details.md" (expand-file-name emacsconf-year emacsconf-directory))
@@ -1384,7 +1379,15 @@ Entries are sorted chronologically, with different tracks interleaved."
(magit-with-toplevel
(magit-stage-1 "-u" magit-buffer-diff-files))
(magit-status-setup-buffer))
- (shell-command "git add -u")))))
+ (shell-command "git add -u"))
+ ;; (when noninteractive
+ ;; (call-process "git" nil nil nil "commit" "-m" (if (stringp (car body))
+ ;; (car body)
+ ;; "Automated commit"))
+ ;; (call-process "git" nil nil nil "commit" "-m" (if (stringp (car body))
+ ;; (car body)
+ ;; "Automated commit")))
+ )))
(defun emacsconf-publish-schedule-svg-snippets ()
(interactive)