Function: markdown-follow-inline-link-p
markdown-follow-inline-link-p is a byte-compiled function defined in
hibtypes.el.
Signature
(markdown-follow-inline-link-p OPOINT)
Documentation
If on an inline link, jump to its referent if it is absolute and return non-nil.
Absolute means not relative within the file. Otherwise, if an internal link, move back to OPOINT and return nil.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hibtypes.el
(defun markdown-follow-inline-link-p (opoint)
"If on an inline link, jump to its referent if it is absolute and return non-nil.
Absolute means not relative within the file. Otherwise, if an
internal link, move back to OPOINT and return nil."
(let ((path (markdown-link-url)))
(goto-char opoint)
(when (markdown-link-p)
(ibut:label-set (match-string-no-properties 0) (match-beginning 0) (match-end 0))
(cond ((hpath:url-p path)
(hact 'www-url path))
(path
(hact 'link-to-file path))
(t
(hpath:display-buffer (current-buffer))
(hact 'markdown-follow-link-at-point))))))