Function: org-end-of-item-list

org-end-of-item-list is an interactive and byte-compiled function defined in org-list.el.gz.

Signature

(org-end-of-item-list)

Documentation

Go to the end of the current list or sublist.

Throw an error when not in a list.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-list.el.gz
(defun org-end-of-item-list ()
  "Go to the end of the current list or sublist.
Throw an error when not in a list."
  (interactive)
  (let ((begin (org-in-item-p)))
    (if (not begin)
	(error "Not in an item")
      (goto-char begin)
      (let* ((struct (org-list-struct))
	     (prevs (org-list-prevs-alist struct)))
	(goto-char (org-list-get-list-end begin struct prevs))))))