Function: org-activate-target-links
org-activate-target-links is a byte-compiled function defined in
org.el.gz.
Signature
(org-activate-target-links LIMIT)
Documentation
Add text properties for target matches.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-activate-target-links (limit)
"Add text properties for target matches."
(when org-target-link-regexp
(let ((case-fold-search t))
;; `org-target-link-regexp' matches one character before the
;; actual target.
(unless (bolp) (forward-char -1))
(when (if org-target-link-regexps
(org--re-list-search-forward org-target-link-regexps limit t)
(re-search-forward org-target-link-regexp limit t))
(org-remove-flyspell-overlays-in (match-beginning 1) (match-end 1))
(add-text-properties (match-beginning 1) (match-end 1)
(list 'mouse-face 'highlight
'keymap org-mouse-map
'help-echo "Radio target link"
'org-linked-text t))
(org-rear-nonsticky-at (match-end 1))
t))))