Function: denote-fontify-links--get-data

denote-fontify-links--get-data is a byte-compiled function defined in denote.el.

Signature

(denote-fontify-links--get-data FORCE)

Documentation

Return denote-fontify-links--datadenote-fontify-links--get-data.

With non-nil FORCE compute the data outright, else first try to use what is stored in denote-fontify-links--data and only compute the data anew if needed.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-fontify-links--get-data (force)
  "Return `denote-fontify-links--datadenote-fontify-links--get-data'.
With non-nil FORCE compute the data outright, else first try to use what
is stored in `denote-fontify-links--data' and only compute the data anew
if needed."
  (let ((file-type (denote-filetype-heuristics buffer-file-name)))
    (if force
        (cons file-type (denote--link-in-context-regexp file-type))
      (or denote-fontify-links--data (denote-fontify-links--get-data :force)))))