about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/timestring.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-09-07T18·48+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-09-07T18·48+0100
commit62a7478bd2e4165a3c9e504a9ae084b822e01501 (patch)
tree1d000afe6d0111b362d28de0d473fc7157ec5b3a /emacs/.emacs.d/wpc/timestring.el
parent8022b7a811b00bfb09c277684e11dcf764d10151 (diff)
defgroup for timestring.el
Trying to be more idiomatic.
Diffstat (limited to 'emacs/.emacs.d/wpc/timestring.el')
-rw-r--r--emacs/.emacs.d/wpc/timestring.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/emacs/.emacs.d/wpc/timestring.el b/emacs/.emacs.d/wpc/timestring.el
index 3685c0f3e250..a9bf64e9a459 100644
--- a/emacs/.emacs.d/wpc/timestring.el
+++ b/emacs/.emacs.d/wpc/timestring.el
@@ -32,17 +32,22 @@
 ;; Library
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
+(defgroup timestring nil
+  "Customize group for timestring configuration.")
+
 (defcustom timestring-supported-encodings
   '(("RFC 3339" . "%Y-%m-%dT%H:%M:%SZ")
     ;; Does anyone recognize this format?
     ("IDK" . "%Y-%m-%d %H:%M:%S %z"))
-  "Mapping of encoding names to their format strings.")
+  "Mapping of encoding names to their format strings."
+  :group 'timestring)
 
 (defcustom timestring-supported-times
   '(("yesterday" . timestring--yesterday)
     ("now" . ts-now)
     ("tomorrow" . timestring--tomorrow))
-  "Mapping of a labels to the functions that create those time objects.")
+  "Mapping of a labels to the functions that create those time objects."
+  :group 'timestring)
 
 (defun timestring--yesterday ()
   "Return a time object for yesterday."