Variable: org-export-current-backend

org-export-current-backend is a variable defined in ox.el.gz.

Value

nil

Documentation

Name, if any, of the backend used during an export process.

Its value is a symbol such as html, latex, ascii, or nil if the backend is anonymous (see org-export-create-backend) or if there is no export process in progress.

It can be used to teach Babel blocks how to act differently according to the backend used.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
;; For compatibility with Org < 8
(defvar org-export-current-backend nil
  "Name, if any, of the backend used during an export process.

Its value is a symbol such as `html', `latex', `ascii', or nil if
the backend is anonymous (see `org-export-create-backend') or if
there is no export process in progress.

It can be used to teach Babel blocks how to act differently
according to the backend used.")