Function: org-agenda-previous-item

org-agenda-previous-item is an interactive and byte-compiled function defined in org-agenda.el.gz.

Signature

(org-agenda-previous-item N)

Documentation

Move cursor to next agenda item.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defun org-agenda-previous-item (n)
  "Move cursor to next agenda item."
  (interactive "p")
  (dotimes (_ n)
    (let ((col (current-column))
	  (goto (save-excursion
		  (move-end-of-line 0)
		  (previous-single-property-change (point) 'org-marker))))
      (when goto (goto-char goto))
      (org-move-to-column col)))
  (org-agenda-do-context-action))