Function: org-babel-put-rownames

org-babel-put-rownames is a byte-compiled function defined in ob-core.el.gz.

Signature

(org-babel-put-rownames TABLE ROWNAMES)

Documentation

Add ROWNAMES to TABLE if they exist.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-core.el.gz
(defun org-babel-put-rownames (table rownames)
  "Add ROWNAMES to TABLE if they exist."
  (if rownames
      (mapcar (lambda (row)
                (if (listp row)
                    (cons (or (pop rownames) "") row)
                  row))
	      table)
    table))