Function: org-cite-processor-has-capability-p
org-cite-processor-has-capability-p is a byte-compiled function
defined in oc.el.gz.
Signature
(org-cite-processor-has-capability-p PROCESSOR CAPABILITY)
Documentation
Return non-nil if PROCESSOR is able to handle CAPABILITY.
PROCESSOR is the name of a cite processor, as a symbol. CAPABILITY is
activate, export, follow, or insert.
Source Code
;; Defined in /usr/src/emacs/lisp/org/oc.el.gz
(defun org-cite-processor-has-capability-p (processor capability)
"Return non-nil if PROCESSOR is able to handle CAPABILITY.
PROCESSOR is the name of a cite processor, as a symbol. CAPABILITY is
`activate', `export', `follow', or `insert'."
(let ((p (org-cite-get-processor processor)))
(pcase capability
((guard (not p)) nil) ;undefined processor
('activate (functionp (org-cite-processor-activate p)))
('export (functionp (org-cite-processor-export-citation p)))
('follow (functionp (org-cite-processor-follow p)))
('insert (functionp (org-cite-processor-insert p)))
(other (error "Invalid capability: %S" other)))))