Function: org-agenda-today-p

org-agenda-today-p is a byte-compiled function defined in org-agenda.el.gz.

Signature

(org-agenda-today-p DATE)

Documentation

Non-nil when DATE means today.

DATE is either a list of the form (month day year) or a number of days as returned by calendar-absolute-from-gregorian or org-today. This function considers org-extend-today-until when defining today.

Aliases

org-agenda-todayp (obsolete since 9.0)

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defun org-agenda-today-p (date)
  "Non-nil when DATE means today.
DATE is either a list of the form (month day year) or a number of
days as returned by `calendar-absolute-from-gregorian' or
`org-today'.  This function considers `org-extend-today-until'
when defining today."
  (eq (org-today)
      (if (consp date) (calendar-absolute-from-gregorian date) date)))