Function: org-agenda-next-date-line

org-agenda-next-date-line is an interactive and byte-compiled function defined in org-agenda.el.gz.

Signature

(org-agenda-next-date-line &optional ARG)

Documentation

Jump to the next line indicating a date in agenda buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defun org-agenda-next-date-line (&optional arg)
  "Jump to the next line indicating a date in agenda buffer."
  (interactive "p")
  (org-agenda-check-type t 'agenda)
  (beginning-of-line 1)
  ;; This does not work if user makes date format that starts with a blank
  (when (looking-at-p "^\\S-") (forward-char 1))
  (unless (re-search-forward "^\\S-" nil t arg)
    (backward-char 1)
    (error "No next date after this line in this buffer"))
  (goto-char (match-beginning 0)))