Function: org-at-item-p

org-at-item-p is a byte-compiled function defined in org-list.el.gz.

Signature

(org-at-item-p)

Documentation

Is point in a line starting a hand-formatted item? Modify match data, matching against org-item-re.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-list.el.gz
;; FIXME: We should make use of org-element API in more places here.
(defun org-at-item-p ()
  "Is point in a line starting a hand-formatted item?
Modify match data, matching against `org-item-re'."
  (save-excursion
    (forward-line 0)
    (and
     (org-element-type-p
      (org-element-at-point)
      '(plain-list item))
     ;; Set match data.
     (looking-at (org-item-re)))))