Function: org-end-of-item

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

Signature

(org-end-of-item)

Documentation

Go to the end of the current item.

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 ()
  "Go to the end of the current item.
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)))
	(goto-char (org-list-get-item-end begin struct))))))