Function: org-export-stack-remove

org-export-stack-remove is an interactive and byte-compiled function defined in ox.el.gz.

Signature

(org-export-stack-remove &optional SOURCE)

Documentation

Remove export results at point from stack.

If optional argument SOURCE is non-nil, remove it instead.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
(defun org-export-stack-remove (&optional source)
  "Remove export results at point from stack.
If optional argument SOURCE is non-nil, remove it instead."
  (interactive)
  (let ((source (or source (org-export--stack-source-at-point))))
    (setq org-export-stack-contents
	  (cl-remove-if (lambda (el) (equal (car el) source))
			org-export-stack-contents))))