Function: org-agenda-todo-yesterday

org-agenda-todo-yesterday is an interactive and byte-compiled function defined in org-agenda.el.gz.

Signature

(org-agenda-todo-yesterday &optional ARG)

Documentation

Like org-agenda-todo but the time of change will be 23:59 of yesterday.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defun org-agenda-todo-yesterday (&optional arg)
  "Like `org-agenda-todo' but the time of change will be 23:59 of yesterday."
  (interactive "P")
  (let* ((org-use-effective-time t)
	 (hour (nth 2 (decode-time (org-current-time))))
         (org-extend-today-until (1+ hour)))
    (org-agenda-todo arg)))