Function: denote--get-link-file-path-at-point

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

Signature

(denote--get-link-file-path-at-point)

Documentation

Return target file path of the Denote link at point.

To be used as a thing-at provider.

Source Code

;; Defined in /nix/store/yld6spsps5sfn9w4rjyhkvqlvdgsmvpq-emacs-packages-deps/share/emacs/site-lisp/elpa/denote-4.2.3/denote.el
(defun denote--get-link-file-path-at-point ()
  "Return target file path of the Denote link at point.
To be used as a `thing-at' provider."
  (let* ((data (denote--link-at-point-get-data (point)))
         (target (caar data)))
    (when-let* ((path (denote-get-path-by-id target)))
      (concat "file:" path))))