Function: org-export-add-to-stack

org-export-add-to-stack is a byte-compiled function defined in ox.el.gz.

Signature

(org-export-add-to-stack SOURCE BACKEND &optional PROCESS)

Documentation

Add a new result to export stack if not present already.

SOURCE is a buffer or a file name containing export results. BACKEND is a symbol representing export backend used to generate it.

Entries already pointing to SOURCE and unavailable entries are removed beforehand. Return the new stack.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
(defun org-export-add-to-stack (source backend &optional process)
  "Add a new result to export stack if not present already.

SOURCE is a buffer or a file name containing export results.
BACKEND is a symbol representing export backend used to generate
it.

Entries already pointing to SOURCE and unavailable entries are
removed beforehand.  Return the new stack."
  (setq org-export-stack-contents
	(cons (list source backend (or process (current-time)))
	      (org-export-stack-remove source))))