Function: org--bounds-of-link-at-point

org--bounds-of-link-at-point is a byte-compiled function defined in org.el.gz.

Signature

(org--bounds-of-link-at-point)

Documentation

bounds-of-thing-at-point provider function.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org--bounds-of-link-at-point ()
  "`bounds-of-thing-at-point' provider function."
  (let ((context (org-element-context)))
    (when (eq (org-element-type context) 'link)
      (cons (org-element-begin context)
            (org-element-end context)))))