This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Description
Problem: the "org-roam-copy-todo-to-today", if placed in an emacs config using org-roam v2 does not function, generating a void-function error related to org-roam-dailies--capture. This function is not provided by org-roam v2. (Noted while using Doom emacs, but pretty sure this would apply to any person using org-roam v2).
Solution: Replace (org-roam-dailies--capture (current-time) t) in the following block with (org-roam-dailies-capture-today "t"):
BEFORE:
(save-window-excursion
(org-roam-dailies--capture (current-time) t)
(setq today-file (buffer-file-name))
(setq pos (point)))
AFTER:
(save-window-excursion
(org-roam-dailies-capture-today "t")
(setq today-file (buffer-file-name))
(setq pos (point)))
EDIT: fixed minor omission of argument for org-roam-dailies-capture-today.