Function: org-point-in-group
org-point-in-group is a byte-compiled function defined in
org-macs.el.gz.
Signature
(org-point-in-group POINT GROUP &optional CONTEXT)
Documentation
Check if POINT is in match-group GROUP.
If CONTEXT is non-nil, return a list with CONTEXT and the boundaries of the match. If the match group does not exist or point is not inside it, return nil.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-macs.el.gz
(defun org-point-in-group (point group &optional context)
"Check if POINT is in match-group GROUP.
If CONTEXT is non-nil, return a list with CONTEXT and the boundaries of the
match. If the match group does not exist or point is not inside it,
return nil."
(and (match-beginning group)
(>= point (match-beginning group))
(<= point (match-end group))
(if context
(list context (match-beginning group) (match-end group))
t)))