Function: org-datetree-find-date-create

org-datetree-find-date-create is an autoloaded and byte-compiled function defined in org-datetree.el.gz.

Signature

(org-datetree-find-date-create D &optional KEEP-RESTRICTION)

Documentation

Find or create a day entry for date D.

If KEEP-RESTRICTION is non-nil, do not widen the buffer. When it is nil, the buffer will be widened to make sure an existing date tree can be found. If it is the symbol subtree-at-point, then the tree will be built under the headline at point.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-datetree.el.gz
;;;###autoload
(defun org-datetree-find-date-create (d &optional keep-restriction)
  "Find or create a day entry for date D.
If KEEP-RESTRICTION is non-nil, do not widen the buffer.
When it is nil, the buffer will be widened to make sure an existing date
tree can be found.  If it is the symbol `subtree-at-point', then the tree
will be built under the headline at point."
  (org-datetree--find-create-group d 'day keep-restriction))