Function: actypes::org-internal-target-link
actypes::org-internal-target-link is a byte-compiled function defined
in hsys-org.el.
Signature
(actypes::org-internal-target-link &optional INTERNAL-TARGET)
Documentation
Follow an optional Org mode <<INTERNAL-TARGET>> back to any first link to it.
If INTERNAL-TARGET is nil, follow any internal target link at point. Otherwise, trigger an error.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hsys-org.el
(defact org-internal-target-link (&optional internal-target)
"Follow an optional Org mode <<INTERNAL-TARGET>> back to any first link to it.
If INTERNAL-TARGET is nil, follow any internal target link at point. Otherwise,
trigger an error."
(let (start-end)
(cond ((stringp internal-target)
(setq start-end t)
(hsys-org-search-internal-link-p internal-target))
((null internal-target)
(when (setq start-end (hsys-org-internal-target-def-at-p))
(hsys-org-search-internal-link-p (buffer-substring-no-properties
(car start-end) (cdr start-end))))))
(unless start-end
(error "(org-internal-target-link): Point must be on a link target (not the link itself)"))))