Function: denote--file-type-org-extra-p
denote--file-type-org-extra-p is a byte-compiled function defined in
denote.el.
Signature
(denote--file-type-org-extra-p)
Documentation
Return non-nil if this is an org-capture or Org Note buffer.
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote--file-type-org-extra-p ()
"Return non-nil if this is an `org-capture' or Org Note buffer."
(and (derived-mode-p 'org-mode)
(or (and (bound-and-true-p org-capture-mode)
(string-match-p "\\`CAPTURE-.*" (buffer-name)))
(string-match-p "\\`\\*Org Note\\*" (buffer-name))
(null buffer-file-name))))