Function: denote-filetype-heuristics

denote-filetype-heuristics is a byte-compiled function defined in denote.el.

Signature

(denote-filetype-heuristics FILE)

Documentation

Return likely file type of FILE.

If in the process of org-capture, consider the file type to be that of Org. Otherwise, use the function denote-file-type(var)/denote-file-type(fun) to return the type.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-filetype-heuristics (file)
  "Return likely file type of FILE.
If in the process of `org-capture', consider the file type to be that of
Org.  Otherwise, use the function `denote-file-type' to return the type."
  (if (denote--file-type-org-extra-p)
      'org
    (denote-file-type file)))