summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2023-09-06 09:09:23 -0400
committerSacha Chua <sacha@sachachua.com>2023-09-06 09:09:23 -0400
commit057b32df925f21000f0b22340c7f37b0b874d377 (patch)
treec4a6dd937c329e08263b197a31243d92a03ed5cc
parenta2a8f8a650d938e79a89cc12a5cd798fc9642874 (diff)
downloademacsconf-el-057b32df925f21000f0b22340c7f37b0b874d377.tar.xz
emacsconf-el-057b32df925f21000f0b22340c7f37b0b874d377.zip
Promove emacsconf-date to a defcustom, update it
-rw-r--r--emacsconf.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacsconf.el b/emacsconf.el
index d601017..5fffc08 100644
--- a/emacsconf.el
+++ b/emacsconf.el
@@ -38,6 +38,9 @@
"Conference year. String for easy inclusion."
:group 'emacsconf
:type 'string)
+(defcustom emacsconf-date "2023-12-03" "Starting date of EmacsConf."
+ :group 'emacsconf
+ :type 'string)
(defcustom emacsconf-directory "~/vendor/emacsconf-wiki"
"Directory where the wiki files are."
:group 'emacsconf
@@ -927,7 +930,6 @@
(apply '+ (seq-map 'string-to-number (conf-collect-field-for-status "PREREC_RECEIVED" :time)))))))
;; Timezones
-(defvar emacsconf-date "2022-12-03" "Starting date of EmacsConf.")
(defvar emacsconf-timezone-offset
(format-time-string "%z" (date-to-time emacsconf-date) emacsconf-timezone)
"Timezone offset for `emacsconf-timezone' on `emacsconf-date'.")