Function: org-babel-result-names

org-babel-result-names is a byte-compiled function defined in ob-core.el.gz.

Signature

(org-babel-result-names &optional FILE)

Documentation

Return the names of results in FILE or the current buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-core.el.gz
(defun org-babel-result-names (&optional file)
  "Return the names of results in FILE or the current buffer."
  (with-current-buffer (if file (find-file-noselect file) (current-buffer))
    (org-with-point-at 1
      (let ((case-fold-search t) names)
      (while (re-search-forward org-babel-result-w-name-regexp nil t)
	(setq names (cons (match-string-no-properties 9) names)))
      names))))