defcustom i guess

This commit is contained in:
bth 2025-12-16 14:31:40 -08:00
commit 3d760257d3
2 changed files with 9 additions and 5 deletions

View file

@ -65,7 +65,7 @@ My config looks like this:
(use-package um
:after (project embark)
:init (setq um-root-glob ".*/writing/journal")
:custom (um-root-glob ".*/writing/journal")
:config
(advice-add 'embark-target-file-at-point :around 'um-target-file-at-point-advice)

View file

@ -37,11 +37,15 @@
(require 'project)
(defvar um-root-glob ".*/writing/journal"
"Primary glob for `um-root-path.' This allows various mountpoints.")
(defcustom um-root-glob ".*/writing/journal"
"Primary glob for `um-root-path.' This allows various mountpoints."
:type '(string)
)
(defvar um-date-format "%Y-%m-%d"
"Format passed to `format-time-string' when creating `um-journal-header'. Defaults to ISO8601.")
(defcustom um-date-format "%Y-%m-%d"
"Format passed to `format-time-string' when creating `um-journal-header'. Defaults to ISO8601."
:type '(string)
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; journal header