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 backend 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 backend.  Though, the
;; latter will only retain one type of export-snippet, ignoring
;; others, based on the former's target backend.  The function
;; `org-export-snippet-backend' returns that backend for a given
;; export-snippet.

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