aboutsummaryrefslogtreecommitdiff
path: root/modules/org-roam-config.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/org-roam-config.el')
-rw-r--r--modules/org-roam-config.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/org-roam-config.el b/modules/org-roam-config.el
index 218f37d68..40df688d9 100644
--- a/modules/org-roam-config.el
+++ b/modules/org-roam-config.el
@@ -27,6 +27,11 @@
(require 'user-constants)
+;; Declared special so the `let'-binding in `cj/org-roam-copy-todo-to-today'
+;; compiles as a dynamic bind, not a dead lexical local -- otherwise the custom
+;; capture template never reaches org-roam-dailies (the foreign-special-var trap).
+(defvar org-roam-dailies-capture-templates)
+
;; ---------------------------------- Org Roam ---------------------------------
(defconst cj/--org-roam-dailies-head