Function: denote-link-preview-file

denote-link-preview-file is an autoloaded and byte-compiled function defined in denote.el.

Signature

(denote-link-preview-file OVERLAY LINK-TARGET LINK-DATA)

Documentation

Use org-link-preview-file for OVERLAY, LINK-TARGET, and LINK-DATA.

Unless the LINK-TARGET has search options, then try to produce a preview.

For more details, refer to the documentation of org-link-set-parameters.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
;;;###autoload
(defun denote-link-preview-file (overlay link-target link-data)
  "Use `org-link-preview-file' for OVERLAY, LINK-TARGET, and LINK-DATA.
Unless the LINK-TARGET has search options, then try to produce a preview.

For more details, refer to the documentation of `org-link-set-parameters'."
  (pcase-let* ((`(,path ,_ ,file-search) (denote-link--ol-resolve-link-to-target link-target :full-data)))
    (unless file-search
      (org-link-preview-file overlay path link-data))))