Function: org-list-get-last-item

org-list-get-last-item is a byte-compiled function defined in org-list.el.gz.

Signature

(org-list-get-last-item ITEM STRUCT PREVS)

Documentation

Return point at last item of sub-list ITEM belongs.

STRUCT is the list structure. PREVS is the alist of previous items, as returned by org-list-prevs-alist.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-list.el.gz
(defun org-list-get-last-item (item struct prevs)
  "Return point at last item of sub-list ITEM belongs.
STRUCT is the list structure.  PREVS is the alist of previous
items, as returned by `org-list-prevs-alist'."
  (let ((last-item item) next-item)
    (while (setq next-item (org-list-get-next-item last-item struct prevs))
      (setq last-item next-item))
    last-item))