Function: denote--link-open-at-point-subr
denote--link-open-at-point-subr is a byte-compiled function defined in
denote.el.
Signature
(denote--link-open-at-point-subr POSITION)
Documentation
Open link at POSITION.
This is the subroutine of denote-link-open-at-point and
denote-link-open-at-mouse.
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote--link-open-at-point-subr (position)
"Open link at POSITION.
This is the subroutine of `denote-link-open-at-point' and
`denote-link-open-at-mouse'."
(pcase-let* ((data (denote--link-at-point-get-data position))
(`(,target . ,_) (car data))
(path (denote-get-path-by-id target)))
(cond
(path (funcall denote-open-link-function path))
(target (denote--act-on-query-link target)))))