Function: denote--link-at-point-get-data

denote--link-at-point-get-data is a natively compiled function defined in denote.el.

Signature

(denote--link-at-point-get-data POSITION)

Documentation

Return matching data for the link at POSITION.

Source Code

;; Defined in /nix/store/yld6spsps5sfn9w4rjyhkvqlvdgsmvpq-emacs-packages-deps/share/emacs/site-lisp/elpa/denote-4.2.3/denote.el
(defun denote--link-at-point-get-data (position)
  "Return matching data for the link at POSITION."
  (when-let* ((file buffer-file-name)
              (file-type (denote-filetype-heuristics file))
              (regexp (denote--link-in-context-regexp file-type)))
    (denote--inside-link-regexp-p regexp position)))