Function: org-export-snippet-backend

org-export-snippet-backend is a byte-compiled function defined in ox.el.gz.

Signature

(org-export-snippet-backend EXPORT-SNIPPET)

Documentation

Return EXPORT-SNIPPET targeted back-end as a symbol.

Translation, with org-export-snippet-translation-alist, is applied.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
;;;; For Export Snippets
;;
;; Every export snippet is transmitted to the back-end.  Though, the
;; latter will only retain one type of export-snippet, ignoring
;; others, based on the former's target back-end.  The function
;; `org-export-snippet-backend' returns that back-end for a given
;; export-snippet.

(defun org-export-snippet-backend (export-snippet)
  "Return EXPORT-SNIPPET targeted back-end as a symbol.
Translation, with `org-export-snippet-translation-alist', is
applied."
  (let ((back-end (org-element-property :back-end export-snippet)))
    (intern
     (or (cdr (assoc back-end org-export-snippet-translation-alist))
	 back-end))))