Function: org-roam-dailies-capture-date

org-roam-dailies-capture-date is an autoloaded, interactive and byte-compiled function defined in org-roam-dailies.el.

Signature

(org-roam-dailies-capture-date &optional GOTO PREFER-FUTURE KEYS)

Documentation

Create an entry in the daily-note for a date using the calendar.

Prefer past dates, unless PREFER-FUTURE is non-nil. With a C-u prefix or when GOTO is non-nil, go the note without creating an entry.

ELisp programs can set KEYS to a string associated with a template. In this case, interactive selection will be bypassed.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-dailies.el
;;;; Date
;;;###autoload
(defun org-roam-dailies-capture-date (&optional goto prefer-future keys)
  "Create an entry in the daily-note for a date using the calendar.
Prefer past dates, unless PREFER-FUTURE is non-nil.
With a `C-u' prefix or when GOTO is non-nil, go the note without
creating an entry.

ELisp programs can set KEYS to a string associated with a template.
In this case, interactive selection will be bypassed."
  (interactive "P")
  (let ((time (let ((org-read-date-prefer-future prefer-future))
                (org-read-date nil t nil (if goto
                                             "Find daily-note: "
                                           "Capture to daily-note: ")))))
    (org-roam-dailies--capture time goto keys)))