Function: org-export-get-all-options

org-export-get-all-options is a byte-compiled function defined in ox.el.gz.

Signature

(org-export-get-all-options BACKEND)

Documentation

Return export options for BACKEND.

BACKEND is an export backend, as return by, e.g,, org-export-create-backend. See org-export-options-alist for the shape of the return value.

Unlike to org-export-backend-options, this function also returns options inherited from parent backends, if any.

Return nil if BACKEND is unknown.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
(defun org-export-get-all-options (backend)
  "Return export options for BACKEND.

BACKEND is an export backend, as return by, e.g,,
`org-export-create-backend'.  See `org-export-options-alist'
for the shape of the return value.

Unlike to `org-export-backend-options', this function also
returns options inherited from parent backends, if any.

Return nil if BACKEND is unknown."
  (when (symbolp backend) (setq backend (org-export-get-backend backend)))
  (when backend
    (let ((options (org-export-backend-options backend))
	  parent)
      (while (setq parent (org-export-backend-parent backend))
	(setq backend (org-export-get-backend parent))
	(setq options (append options (org-export-backend-options backend))))
      options)))